Share via


ServerSyncProviderProxy.GetSchema Method

Gets the table schema from the server database.

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

Syntax

'Declaration
Public Overrides Function GetSchema ( _
    tableNames As Collection(Of String), _
    syncSession As SyncSession _
) As SyncSchema
'Usage
Dim instance As ServerSyncProviderProxy
Dim tableNames As Collection(Of String)
Dim syncSession As SyncSession
Dim returnValue As SyncSchema

returnValue = instance.GetSchema(tableNames, syncSession)
public override SyncSchema GetSchema (
    Collection<string> tableNames,
    SyncSession syncSession
)
public:
virtual SyncSchema^ GetSchema (
    Collection<String^>^ tableNames, 
    SyncSession^ syncSession
) override
public SyncSchema GetSchema (
    Collection<String> tableNames, 
    SyncSession syncSession
)
public override function GetSchema (
    tableNames : Collection<String>, 
    syncSession : SyncSession
) : SyncSchema

Parameters

  • tableNames
    A collection of table names for which the server provider should get a SyncSchema object.
  • syncSession
    A SyncSession object that contains metadata about the current synchronization session.

Return Value

A SyncSchema object that contains the schema for each specified table.

See Also

Reference

ServerSyncProviderProxy Class
ServerSyncProviderProxy Members
Microsoft.Synchronization.Data Namespace