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.
Assembly: Microsoft.Synchronization.Data.SqlServerCe (in Microsoft.Synchronization.Data.SqlServerCe.dll)
public: virtual SyncContext^ GetChanges( SyncGroupMetadata^ groupMetadata, SyncSession^ syncSession ) override
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::SyncContextA SyncContext object that contains data changes and anchor values and other metadata for a synchronization session.
| Exception | Condition |
|---|---|
| ArgumentNullException | groupMetadata or syncSession is a nullptr. |
| DataSyncException | Another transaction is in progress. |
Show: