SqlCeClientSyncProvider::AcceptChanges Method (IEnumerable<String>, SyncAnchor)
Updates tracking metadata up to the specified anchor point so that pending changes for the specified tables at the client are not uploaded during the next synchronization.
Assembly: Microsoft.Synchronization.Data.SqlServerCe (in Microsoft.Synchronization.Data.SqlServerCe.dll)
public: void AcceptChanges( IEnumerable<String^>^ tableNames, SyncAnchor^ newAnchor )
Parameters
- tableNames
- Type: System.Collections.Generic::IEnumerable<String>
A collection of tables in the client database for which to accept changes.
- newAnchor
- Type: Microsoft.Synchronization.Data::SyncAnchor
A SyncAnchor object that represents the point up to which changes should be accepted.
| Exception | Condition |
|---|---|
| ArgumentNullException | tableName or newAnchor is a nullptr. |
| DataSyncException | Another transaction is in progress. |
Show: