在衍生類別中覆寫時,會從伺服器資料庫擷取一個或多個資料表的結構描述。
命名空間: Microsoft.Synchronization.Data
組件: Microsoft.Synchronization.Data (在 microsoft.synchronization.data.dll)
語法
'宣告
Public MustOverride Function GetSchema ( _
tableNames As Collection(Of String), _
syncSession As SyncSession _
) As SyncSchema
'用途
Dim instance As ServerSyncProvider
Dim tableNames As Collection(Of String)
Dim syncSession As SyncSession
Dim returnValue As SyncSchema
returnValue = instance.GetSchema(tableNames, syncSession)
public abstract SyncSchema GetSchema (
Collection<string> tableNames,
SyncSession syncSession
)
public:
virtual SyncSchema^ GetSchema (
Collection<String^>^ tableNames,
SyncSession^ syncSession
) abstract
public abstract SyncSchema GetSchema (
Collection<String> tableNames,
SyncSession syncSession
)
public abstract function GetSchema (
tableNames : Collection<String>,
syncSession : SyncSession
) : SyncSchema
參數
- tableNames
伺服器提供者應該取得 SyncSchema 物件的資料表名稱集合。
- syncSession
包含有關目前同步處理工作階段之中繼資料的 SyncSession 物件。
傳回值
SyncSchema 物件,此物件包含每一個指定之資料表的結構描述。
請參閱
參考
ServerSyncProvider 類別
ServerSyncProvider 成員
Microsoft.Synchronization.Data 命名空間