SqlCeClientSyncProvider.GetTableSentAnchor Method
Gets 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 Function GetTableSentAnchor ( _
tableName As String _
) As SyncAnchor
'Usage
Dim instance As SqlCeClientSyncProvider
Dim tableName As String
Dim returnValue As SyncAnchor
returnValue = instance.GetTableSentAnchor(tableName)
public override SyncAnchor GetTableSentAnchor(
string tableName
)
public:
virtual SyncAnchor^ GetTableSentAnchor(
String^ tableName
) override
abstract GetTableSentAnchor :
tableName:string -> SyncAnchor
override GetTableSentAnchor :
tableName:string -> SyncAnchor
public override function GetTableSentAnchor(
tableName : String
) : SyncAnchor
Parameters
- tableName
Type: System.String
The name of the table.
Return Value
Type: Microsoft.Synchronization.Data.SyncAnchor
A SyncAnchor object that contains the time when the last change was sent from the client.
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. |
Remarks
This method is used by the change tracking infrastructure in the client database.