ServerSyncProvider.GetSchema 方法
当在派生类中重写时,从服务器数据库中检索一或多个表的架构。
命名空间: 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 命名空间