Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
Searches for a DbSyncAdapter object when given a table name, and returns the zero-based index of the first occurrence within the whole collection.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Function IndexOf ( _
tableName As String _
) As Integer
'Usage
Dim instance As DbSyncAdapterCollection
Dim tableName As String
Dim returnValue As Integer
returnValue = instance.IndexOf(tableName)
public int IndexOf(
string tableName
)
public:
int IndexOf(
String^ tableName
)
member IndexOf :
tableName:string -> int
public function IndexOf(
tableName : String
) : int
Parameters
- tableName
Type: System.String
The name of the table. Specify the name to get the index of the associated DbSyncAdapter object in DbSyncAdapterCollection.
Return Value
Type: System.Int32
The index position of tableName if that string is found; otherwise -1 if it is not.