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
abstract SetTableSentAnchor :
tableName:string *
anchor:SyncAnchor -> unit
public abstract function SetTableSentAnchor(
tableName : String,
anchor : SyncAnchor
)
参数
- tableName
类型:System. . :: . .String
要为其获取 SyncAnchor 对象的表的名称。
- anchor
类型:Microsoft.Synchronization.Data. . :: . .SyncAnchor
包含要持久化的定位点值的 SyncAnchor 对象。