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)

Syntax

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

instance.SetTableSentAnchor(tableName, _
    anchor)
public override void SetTableSentAnchor(
    string tableName,
    SyncAnchor anchor
)
public:
virtual void SetTableSentAnchor(
    String^ tableName, 
    SyncAnchor^ anchor
) override
abstract SetTableSentAnchor : 
        tableName:string * 
        anchor:SyncAnchor -> unit 
override SetTableSentAnchor : 
        tableName:string * 
        anchor:SyncAnchor -> unit 
public override function SetTableSentAnchor(
    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.

Remarks

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

See Also

Reference

SqlCeClientSyncProvider Class

Microsoft.Synchronization.Data.SqlServerCe Namespace