SqlCeClientSyncProvider::SetTableReceivedAnchor Method

Sets a SyncAnchor object that contains the time that the last change was received from the server.

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

public:
virtual void SetTableReceivedAnchor(
	String^ tableName, 
	SyncAnchor^ anchor
) override

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 nullptr.

MetadataException

The table anchor could not be set.

ArgumentException

No table with the name tableName exists.

Show: