SqlCeClientSyncProvider.SetTableSentAnchor Method

Sets a SyncAnchor object that contains the time when the last change was sent from the client.

Namespace:  Microsoft.Synchronization.Data.SqlServerCe
Assembly:  Microsoft.Synchronization.Data.SqlServerCe (in Microsoft.Synchronization.Data.SqlServerCe.dll)

public override void SetTableSentAnchor(
	string tableName,
	SyncAnchor anchor
)

Parameters

tableName
Type: System.String
The name of the table.
anchor
Type: Microsoft.Synchronization.Data.SyncAnchor
A SyncAnchor object, with the anchor value to persist.

ExceptionCondition
DataSyncException

Another transaction is in progress.

ArgumentNullException

tableName or anchor is a null.

MetadataException

The table anchor could not be set.

ArgumentException

No table with the name tableName exists.

This method is used by the change tracking infrastructure in the client database.

Show: