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
- groupMetadata
Type: Microsoft.Synchronization.Data.SyncGroupMetadata
A SyncGroupMetadata object that contains metadata about the synchronization group.
- dataSet
Type: System.Data.DataSet
A DataSet object that contains the rows of data to be applied to the server database.
- syncSession
Type: Microsoft.Synchronization.Data.SyncSession
A SyncSession object that contains metadata about the current synchronization session.
Return Value
Type: Microsoft.Synchronization.Data.SyncContext
A SyncContext object that contains synchronization data and metadata.