Share via


ServerSyncProvider.ApplyChanges Method

When overridden in a derived class, applies inserts, updates, and deletes for a synchronization group to the server database.

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
'Usage
Dim instance As ServerSyncProvider
Dim groupMetadata As SyncGroupMetadata
Dim dataSet As DataSet
Dim syncSession As SyncSession
Dim returnValue As SyncContext

returnValue = instance.ApplyChanges(groupMetadata, _
    dataSet, syncSession)
public abstract SyncContext ApplyChanges(
    SyncGroupMetadata groupMetadata,
    DataSet dataSet,
    SyncSession syncSession
)
public:
virtual SyncContext^ ApplyChanges(
    SyncGroupMetadata^ groupMetadata, 
    DataSet^ dataSet, 
    SyncSession^ syncSession
) abstract
abstract ApplyChanges : 
        groupMetadata:SyncGroupMetadata * 
        dataSet:DataSet * 
        syncSession:SyncSession -> SyncContext 
public abstract function ApplyChanges(
    groupMetadata : SyncGroupMetadata, 
    dataSet : DataSet, 
    syncSession : SyncSession
) : SyncContext

Parameters

Return Value

Type: Microsoft.Synchronization.Data.SyncContext
A SyncContext object that contains synchronization data and metadata.

See Also

Reference

ServerSyncProvider Class

Microsoft.Synchronization.Data Namespace