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

Parameters

Return Value

Type: System.Boolean
true if the SyncAdapter object exists; otherwise, false.

See Also

Reference

SyncAdapterCollection Class

Contains Overload

Microsoft.Synchronization.Data.Server Namespace