Export (0) Print
Expand All

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 override void SetTableReceivedAnchor(
	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.

Show:
© 2014 Microsoft