DbServerSyncProvider.ApplyChanges 方法

命名空间: Microsoft.Synchronization.Data.Server
程序集: Microsoft.Synchronization.Data.Server(在 microsoft.synchronization.data.server.dll 中)

语法

声明
<SuppressMessageAttribute("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters")> _
Public Overrides Function ApplyChanges ( _
    groupMetadata As SyncGroupMetadata, _
    dataSet As DataSet, _
    syncSession As SyncSession _
) As SyncContext
用法
Dim instance As DbServerSyncProvider
Dim groupMetadata As SyncGroupMetadata
Dim dataSet As DataSet
Dim syncSession As SyncSession
Dim returnValue As SyncContext

returnValue = instance.ApplyChanges(groupMetadata, dataSet, syncSession)
[SuppressMessageAttribute("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters")] 
public override SyncContext ApplyChanges (
    SyncGroupMetadata groupMetadata,
    DataSet dataSet,
    SyncSession syncSession
)
[SuppressMessageAttribute(L"Microsoft.Globalization", L"CA1303:DoNotPassLiteralsAsLocalizedParameters")] 
public:
virtual SyncContext^ ApplyChanges (
    SyncGroupMetadata^ groupMetadata, 
    DataSet^ dataSet, 
    SyncSession^ syncSession
) override
/** @attribute SuppressMessageAttribute("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters") */ 
public SyncContext ApplyChanges (
    SyncGroupMetadata groupMetadata, 
    DataSet dataSet, 
    SyncSession syncSession
)
SuppressMessageAttribute("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters") 
public override function ApplyChanges (
    groupMetadata : SyncGroupMetadata, 
    dataSet : DataSet, 
    syncSession : SyncSession
) : SyncContext

参数

  • dataSet
    一个 DataSet 对象,包含对同步组中的每个表所做的要应用于服务器数据库的变更。
  • syncSession
    包含同步会话变量(如要同步的客户端的 ID)的 SyncSession 对象。

返回值

包含同步数据和元数据的 SyncContext 对象。

请参阅

参考

DbServerSyncProvider 类
DbServerSyncProvider 成员
Microsoft.Synchronization.Data.Server 命名空间