Share via


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)

Syntax

'Declaration
Public Sub AcceptChanges ( _
    tableName As String _
)
public void AcceptChanges (
    string tableName
)
public:
void AcceptChanges (
    String^ tableName
)
public void AcceptChanges (
    String tableName
)
public function AcceptChanges (
    tableName : String
)

Parameters

  • tableName
    A table in the client database for which to accept changes.

Remarks

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).

Target Platforms

See Also

Reference

SqlCeClientSyncProvider Class
SqlCeClientSyncProvider Members
Microsoft.Synchronization.Data.SqlServerCe Namespace