Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
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
abstract GetSchema :
tableNames:Collection<string> *
syncSession:SyncSession -> SyncSchema
override GetSchema :
tableNames:Collection<string> *
syncSession:SyncSession -> SyncSchema
public override function GetSchema(
tableNames : Collection<String>,
syncSession : SyncSession
) : SyncSchema
Parameters
- tableNames
Type: System.Collections.ObjectModel.Collection<String>
A collection of table names for which the server provider should get a SyncSchema object.
- syncSession
Type: Microsoft.Synchronization.Data.SyncSession
A SyncSession object that contains metadata about the current synchronization session.
Return Value
Type: Microsoft.Synchronization.Data.SyncSchema
A SyncSchema object that contains the schema for each specified table.
Exceptions
| Exception | Condition |
|---|---|
| MissingMemberException | The underlying service proxy does not have a GetSchema method. |