SqlCeClientSyncProvider::SetTableSentAnchor Method
Sets a SyncAnchor object that contains the time when the last change was sent from the client.
Assembly: Microsoft.Synchronization.Data.SqlServerCe (in Microsoft.Synchronization.Data.SqlServerCe.dll)
public: virtual void SetTableSentAnchor( String^ tableName, SyncAnchor^ anchor ) override
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.
| Exception | Condition |
|---|---|
| DataSyncException | Another transaction is in progress. |
| ArgumentNullException | tableName or anchor is a nullptr. |
| MetadataException | The table anchor could not be set. |
| ArgumentException | No table with the name tableName exists. |
Show: