サーバー データベースからテーブル スキーマを取得します。
名前空間: Microsoft.Synchronization.Data
アセンブリ: Microsoft.Synchronization.Data (microsoft.synchronization.data.dll 内)
構文
'宣言
Public Overrides Function GetSchema ( _
tableNames As Collection(Of String), _
syncSession As SyncSession _
) As SyncSchema
'使用
Dim instance As ServerSyncProviderProxy
Dim tableNames As Collection(Of String)
Dim syncSession As SyncSession
Dim returnValue As SyncSchema
returnValue = instance.GetSchema(tableNames, syncSession)
public override SyncSchema GetSchema (
Collection<string> tableNames,
SyncSession syncSession
)
public:
virtual SyncSchema^ GetSchema (
Collection<String^>^ tableNames,
SyncSession^ syncSession
) override
public SyncSchema GetSchema (
Collection<String> tableNames,
SyncSession syncSession
)
public override function GetSchema (
tableNames : Collection<String>,
syncSession : SyncSession
) : SyncSchema
パラメーター
- tableNames
サーバー プロバイダーが SyncSchema オブジェクトを取得する必要があるテーブル名のコレクション。
- syncSession
現在の同期セッションに関するメタデータを格納する SyncSession オブジェクト。
戻り値
指定した各テーブルのスキーマを格納する SyncSchema オブジェクト。
参照
リファレンス
ServerSyncProviderProxy クラス
ServerSyncProviderProxy メンバー
Microsoft.Synchronization.Data 名前空間