DbServerSyncProvider.GetChanges Method
Selects for a table in the server database the inserts, updates, and deletes to apply to the client database for a synchronization group.
Namespace: Microsoft.Synchronization.Data.Server
Assembly: Microsoft.Synchronization.Data.Server (in microsoft.synchronization.data.server.dll)
Syntax
'Declaration
Public Overrides Function GetChanges ( _
groupMetadata As SyncGroupMetadata, _
syncSession As SyncSession _
) As SyncContext
'Usage
Dim instance As DbServerSyncProvider
Dim groupMetadata As SyncGroupMetadata
Dim syncSession As SyncSession
Dim returnValue As SyncContext
returnValue = instance.GetChanges(groupMetadata, syncSession)
public override SyncContext GetChanges (
SyncGroupMetadata groupMetadata,
SyncSession syncSession
)
public:
virtual SyncContext^ GetChanges (
SyncGroupMetadata^ groupMetadata,
SyncSession^ syncSession
) override
public SyncContext GetChanges (
SyncGroupMetadata groupMetadata,
SyncSession syncSession
)
public override function GetChanges (
groupMetadata : SyncGroupMetadata,
syncSession : SyncSession
) : SyncContext
Parameters
- groupMetadata
A SyncGroupMetadata object that contains metadata about the synchronization group.
- syncSession
A SyncSession object that contains synchronization session variables, such as the ID of the client that is synchronizing.
Return Value
A SyncContext object that contains synchronization data and metadata.
Remarks
Access the changes to be applied by using the data set that is returned by the SyncContext object.
See Also
Reference
DbServerSyncProvider Class
DbServerSyncProvider Members
Microsoft.Synchronization.Data.Server Namespace