DbSyncAdapterCollection.Contains Method (String)
Determines whether a specific DbSyncAdapter object is in the collection when given a table name.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)
Syntax
'Declaration
Public Function Contains ( _
tableName As String _
) As Boolean
'Usage
Dim instance As DbSyncAdapterCollection
Dim tableName As String
Dim returnValue As Boolean
returnValue = instance.Contains(tableName)
public bool Contains (
string tableName
)
public:
bool Contains (
String^ tableName
)
public boolean Contains (
String tableName
)
public function Contains (
tableName : String
) : boolean
Parameters
- tableName
The name of the table. Specify the name to determine whether the associated DbSyncAdapter object is in DbSyncAdapterCollection.
Return Value
true if the DbSyncAdapter object exists; otherwise, false.
See Also
Reference
DbSyncAdapterCollection Class
DbSyncAdapterCollection Members
Microsoft.Synchronization.Data Namespace