ClientSyncProvider.SetTableSentAnchor 方法
在派生类中重写时,设置包含从客户端发送上次变更的时间的 SyncAnchor 对象。
命名空间: Microsoft.Synchronization.Data
程序集: Microsoft.Synchronization.Data(在 microsoft.synchronization.data.dll 中)
语法
声明
Public MustOverride Sub SetTableSentAnchor ( _
tableName As String, _
anchor As SyncAnchor _
)
用法
Dim instance As ClientSyncProvider
Dim tableName As String
Dim anchor As SyncAnchor
instance.SetTableSentAnchor(tableName, anchor)
public abstract void SetTableSentAnchor (
string tableName,
SyncAnchor anchor
)
public:
virtual void SetTableSentAnchor (
String^ tableName,
SyncAnchor^ anchor
) abstract
public abstract void SetTableSentAnchor (
String tableName,
SyncAnchor anchor
)
public abstract function SetTableSentAnchor (
tableName : String,
anchor : SyncAnchor
)
参数
- tableName
要为其获取 SyncAnchor 对象的表的名称。
- anchor
包含要持久化的定位点值的 SyncAnchor 对象。
请参阅
参考
ClientSyncProvider 类
ClientSyncProvider 成员
Microsoft.Synchronization.Data 命名空间