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
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 if the associated SyncAdapter object is in the SyncAdapterCollection.
Return Value
true if the SyncAdapter object exists; otherwise, false.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).
Target Platforms
See Also
Reference
SyncAdapterCollection Class
SyncAdapterCollection Members
Microsoft.Synchronization.Data.Server Namespace