Freigeben über


DbSyncAdapterCollection.Contains-Methode (String)

Ermittelt, ob ein bestimmtes DbSyncAdapter-Objekt in der Auflistung vorhanden ist, wenn ein Tabellenname angegeben wird.

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

Parameter

Rückgabewert

true, wenn das DbSyncAdapter-Objekt vorhanden ist; andernfalls false.

Siehe auch

Verweis

DbSyncAdapterCollection-Klasse
DbSyncAdapterCollection-Member
Microsoft.Synchronization.Data-Namespace