Compartilhar via


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
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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).

Target Platforms

See Also

Reference

DbServerSyncProvider Class
DbServerSyncProvider Members
Microsoft.Synchronization.Data.Server Namespace