Compartilhar via


ClientSyncProvider.ApplyChanges Method

When overridden in a derived class, applies inserts, updates, and deletes for a synchronization group to the client database when given group metadata, a data set, and synchronization session parameters.

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

Syntax

'Declaration
Public MustOverride Function ApplyChanges ( _
    groupMetadata As SyncGroupMetadata, _
    dataSet As DataSet, _
    syncSession As SyncSession _
) As SyncContext
public abstract SyncContext ApplyChanges (
    SyncGroupMetadata groupMetadata,
    DataSet dataSet,
    SyncSession syncSession
)
public:
virtual SyncContext^ ApplyChanges (
    SyncGroupMetadata^ groupMetadata, 
    DataSet^ dataSet, 
    SyncSession^ syncSession
) abstract
public abstract SyncContext ApplyChanges (
    SyncGroupMetadata groupMetadata, 
    DataSet dataSet, 
    SyncSession syncSession
)
public abstract function ApplyChanges (
    groupMetadata : SyncGroupMetadata, 
    dataSet : DataSet, 
    syncSession : SyncSession
) : SyncContext

Parameters

  • groupMetadata
    A SyncGroupMetadata object that contains metadata about the synchronization group.
  • dataSet
    A DataSet object that contains the rows of data to be applied to the client database.
  • syncSession
    A SyncSession object that contains metadata about the current synchronization session.

Return Value

A SyncContext object that contains data changes and anchor values and other metadata for a synchronization session.

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

ClientSyncProvider Class
ClientSyncProvider Members
Microsoft.Synchronization.Data Namespace