SqlCeClientSyncProvider.SetTableReceivedAnchor 方法

设置一个 SyncAnchor 对象,该对象包含上一次从服务器接收变更的时间。

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

语法

声明
Public Overrides Sub SetTableReceivedAnchor ( _
    tableName As String, _
    anchor As SyncAnchor _
)
用法
Dim instance As SqlCeClientSyncProvider
Dim tableName As String
Dim anchor As SyncAnchor

instance.SetTableReceivedAnchor(tableName, anchor)
public override void SetTableReceivedAnchor (
    string tableName,
    SyncAnchor anchor
)
public:
virtual void SetTableReceivedAnchor (
    String^ tableName, 
    SyncAnchor^ anchor
) override
public void SetTableReceivedAnchor (
    String tableName, 
    SyncAnchor anchor
)
public override function SetTableReceivedAnchor (
    tableName : String, 
    anchor : SyncAnchor
)

参数

  • tableName
    表的名称。
  • anchor
    包含要持久化的定位点值的 SyncAnchor 对象。

请参阅

参考

SqlCeClientSyncProvider 类
SqlCeClientSyncProvider 成员
Microsoft.Synchronization.Data.SqlServerCe 命名空间