SqlCeClientSyncProvider.GetTableReceivedAnchor Method

Gets a SyncAnchor object that contains the time when 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 Function GetTableReceivedAnchor ( _
    tableName As String _
) As SyncAnchor
'Usage
Dim instance As SqlCeClientSyncProvider
Dim tableName As String
Dim returnValue As SyncAnchor

returnValue = instance.GetTableReceivedAnchor(tableName)
public override SyncAnchor GetTableReceivedAnchor(
    string tableName
)
public:
virtual SyncAnchor^ GetTableReceivedAnchor(
    String^ tableName
) override
abstract GetTableReceivedAnchor : 
        tableName:string -> SyncAnchor 
override GetTableReceivedAnchor : 
        tableName:string -> SyncAnchor 
public override function GetTableReceivedAnchor(
    tableName : String
) : SyncAnchor

Parameters

Return Value

Type: Microsoft.Synchronization.Data.SyncAnchor
A SyncAnchor object that contains the time when the last change was received from the server.

Exceptions

Exception Condition
DataSyncException

Another transaction is in progress.

ArgumentNullException

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

MetadataException

The table anchor could not be retrieved.

See Also

Reference

SqlCeClientSyncProvider Class

Microsoft.Synchronization.Data.SqlServerCe Namespace