DbSyncAdapterCollection::IndexOf Method (String)
Searches for a DbSyncAdapter object when given a table name, and returns the zero-based index of the first occurrence within the whole collection.
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
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::Int32The index position of tableName if that string is found; otherwise -1 if it is not.
Show: