共用方式為


ServerSyncProviderProxy.GetSchema 方法

從伺服器資料庫中取得資料表結構描述。

命名空間: 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 命名空間