Compartilhar via


ServerSyncProvider.GetSchema Method

When overridden in a derived class, retrieves the schema for one or more tables from the server database.

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

Syntax

'Declaration
Public MustOverride Function GetSchema ( _
    tableNames As Collection(Of String), _
    syncSession As SyncSession _
) As SyncSchema
public abstract SyncSchema GetSchema (
    Collection<string> tableNames,
    SyncSession syncSession
)
public:
virtual SyncSchema^ GetSchema (
    Collection<String^>^ tableNames, 
    SyncSession^ syncSession
) abstract
public abstract SyncSchema GetSchema (
    Collection<String> tableNames, 
    SyncSession syncSession
)
public abstract 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.

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

ServerSyncProvider Class
ServerSyncProvider Members
Microsoft.Synchronization.Data Namespace