MSDN Library

SqlCeClientSyncProvider.GetChanges Method (SyncGroupMetadata, SyncSession)

Gets inserts, updates, and deletes for the specified synchronization group and session that occurred at the client since the last time Synchronize or AcceptChanges was called.

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

public override SyncContext GetChanges(
	SyncGroupMetadata groupMetadata,
	SyncSession syncSession
)

Parameters

groupMetadata
Type: Microsoft.Synchronization.Data.SyncGroupMetadata
A SyncGroupMetadata object that contains metadata about the synchronization group.
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 data changes and anchor values and other metadata for a synchronization session.

ExceptionCondition
ArgumentNullException

groupMetadata or syncSession is a null.

DataSyncException

Another transaction is in progress.

Show:
© 2016 Microsoft