Share via


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
)
public boolean Contains (
    String tableName
)
public function Contains (
    tableName : String
) : boolean

Parameters

Return Value

true if the SyncAdapter object exists; otherwise, false.

See Also

Reference

SyncAdapterCollection Class
SyncAdapterCollection Members
Microsoft.Synchronization.Data.Server Namespace