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)

Syntax

'Declaration
Public Overrides Sub SetTableReceivedAnchor ( _
    tableName As String, _
    anchor As SyncAnchor _
)
'Usage
Dim instance As SqlCeClientSyncProvider
Dim tableName As String
Dim anchor As SyncAnchor

instance.SetTableReceivedAnchor(tableName, _
    anchor)
public override void SetTableReceivedAnchor(
    string tableName,
    SyncAnchor anchor
)
public:
virtual void SetTableReceivedAnchor(
    String^ tableName, 
    SyncAnchor^ anchor
) override
abstract SetTableReceivedAnchor : 
        tableName:string * 
        anchor:SyncAnchor -> unit 
override SetTableReceivedAnchor : 
        tableName:string * 
        anchor:SyncAnchor -> unit 
public override function SetTableReceivedAnchor(
    tableName : String, 
    anchor : SyncAnchor
)

Parameters

Exceptions

Exception Condition
DataSyncException

Another transaction is in progress.

ArgumentNullException

tableName or anchor is a null reference (Nothing in Visual Basic).

MetadataException

The table anchor could not be set.

ArgumentException

No table with the name tableName exists.

See Also

Reference

SqlCeClientSyncProvider Class

Microsoft.Synchronization.Data.SqlServerCe Namespace