ArcObjects Library Reference (GeoDatabase)  

IReplicaDescription.FindTable Method

Gets the index number of a dataset.

[Visual Basic .NET]
Public Function FindTable ( _
    ByVal DatasetName As IName _
) As Integer
[C#]
public int FindTable (
    IName DatasetName
);
[C++]
HRESULT FindTable(
  IName* DatasetName,
  long* Index
);
[C++]

Parameters

DatasetName [in]

  DatasetName is a parameter of type IName

Index [out, retval]   Index is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

This property may return indexes for Name objects that were not passed into the Init method. This is because the Init method expands the list of datasets to ensure database integrity. The index returned can be used with the TableName property to get name object back from the list.

See Also

IReplicaDescription Interface