Export (0) Print
Expand All

SqlCeClientSyncProvider.AcceptChanges Method (String)

Updates tracking metadata so that pending changes for the specified table are not uploaded during the next synchronization.

Namespace:  Microsoft.Synchronization.Data.SqlServerCe
Assembly:  Microsoft.Synchronization.Data.SqlServerCe (in Microsoft.Synchronization.Data.SqlServerCe.dll)

public void AcceptChanges(
	string tableName
)

Parameters

tableName
Type: System.String
A table in the client database for which to accept changes.

ExceptionCondition
ArgumentNullException

tableName is a null.

DataSyncException

Another transaction is in progress.

This method can be used if you do not want to upload a set of changes to the server. For example, you might make updates at the client that are only relevant to the client and that should not be applied at the server. Call this method after making those updates.

Show:
© 2014 Microsoft