SyncAdapterCollection.Contains Method (String)
Determines whether a specific SyncAdapter object is in the collection when given a table name.
Namespace: Microsoft.Synchronization.Data.Server
Assembly: Microsoft.Synchronization.Data.Server (in Microsoft.Synchronization.Data.Server.dll)
Syntax
'Declaration
Public Function Contains ( _
tableName As String _
) As Boolean
'Usage
Dim instance As SyncAdapterCollection
Dim tableName As String
Dim returnValue As Boolean
returnValue = instance.Contains(tableName)
public bool Contains(
string tableName
)
public:
bool Contains(
String^ tableName
)
member Contains :
tableName:string -> bool
public function Contains(
tableName : String
) : boolean
Parameters
- tableName
Type: System.String
The name of the table. Specify the name to determine if the associated SyncAdapter object is in the SyncAdapterCollection.
Return Value
Type: System.Boolean
true if the SyncAdapter object exists; otherwise, false.