Sdílet prostřednictvím


DbServerSyncProvider.GetServerInfo Method

Gets a SyncServerInfo object when give a session parameter.

Namespace: Microsoft.Synchronization.Data.Server
Assembly: Microsoft.Synchronization.Data.Server (in microsoft.synchronization.data.server.dll)

Syntax

'Declaration
Public Overrides Function GetServerInfo ( _
    syncSession As SyncSession _
) As SyncServerInfo
'Usage
Dim instance As DbServerSyncProvider
Dim syncSession As SyncSession
Dim returnValue As SyncServerInfo

returnValue = instance.GetServerInfo(syncSession)
public override SyncServerInfo GetServerInfo (
    SyncSession syncSession
)
public:
virtual SyncServerInfo GetServerInfo (
    SyncSession^ syncSession
) override
public SyncServerInfo GetServerInfo (
    SyncSession syncSession
)
public override function GetServerInfo (
    syncSession : SyncSession
) : SyncServerInfo

Parameters

  • syncSession
    A SyncSession object that contains synchronization session variables, such as the ID of the client that is synchronizing.

Return Value

A SyncServerInfo object that contains server synchronization information.

See Also

Reference

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