Share via


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

Parameters

Return Value

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

See Also

Reference

DbSyncAdapterCollection Class

Contains Overload

Microsoft.Synchronization.Data Namespace