次の方法で共有


SyncAdapterCollection.Contains メソッド (String)

テーブル名が指定されている場合は、特定の SyncAdapter オブジェクトがコレクション内にあるかどうかを確認します。

名前空間: Microsoft.Synchronization.Data.Server
アセンブリ: Microsoft.Synchronization.Data.Server (microsoft.synchronization.data.server.dll 内)

構文

'宣言
Public Function Contains ( _
    tableName As String _
) As Boolean
'使用
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

パラメーター

  • tableName
    テーブルの名前。名前を指定して、関連付けられている SyncAdapter オブジェクトが SyncAdapterCollection 内にあるかどうかを確認します。

戻り値

SyncAdapter オブジェクトが存在する場合は true。それ以外の場合は false

参照

リファレンス

SyncAdapterCollection クラス
SyncAdapterCollection メンバー
Microsoft.Synchronization.Data.Server 名前空間