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 命名空间