Sdílet prostřednictvím


SqlSyncAdapterBuilder.ToSyncAdapter Method (Boolean, Boolean, Boolean, Boolean)

Creates a synchronization adapter for the table specified in TableName, with the option of not downloading tracking columns to the client.

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

Syntax

'Declaration
Public Function ToSyncAdapter ( _
    includeCreationTrackingColumn As Boolean, _
    includeUpdateTrackingColumn As Boolean, _
    includeCreationOriginatorIdColumn As Boolean, _
    includeUpdateOriginatorIdColumn As Boolean _
) As SyncAdapter
'Usage
Dim instance As SqlSyncAdapterBuilder
Dim includeCreationTrackingColumn As Boolean
Dim includeUpdateTrackingColumn As Boolean
Dim includeCreationOriginatorIdColumn As Boolean
Dim includeUpdateOriginatorIdColumn As Boolean
Dim returnValue As SyncAdapter

returnValue = instance.ToSyncAdapter(includeCreationTrackingColumn, includeUpdateTrackingColumn, includeCreationOriginatorIdColumn, includeUpdateOriginatorIdColumn)
public SyncAdapter ToSyncAdapter (
    bool includeCreationTrackingColumn,
    bool includeUpdateTrackingColumn,
    bool includeCreationOriginatorIdColumn,
    bool includeUpdateOriginatorIdColumn
)
public:
SyncAdapter^ ToSyncAdapter (
    bool includeCreationTrackingColumn, 
    bool includeUpdateTrackingColumn, 
    bool includeCreationOriginatorIdColumn, 
    bool includeUpdateOriginatorIdColumn
)
public SyncAdapter ToSyncAdapter (
    boolean includeCreationTrackingColumn, 
    boolean includeUpdateTrackingColumn, 
    boolean includeCreationOriginatorIdColumn, 
    boolean includeUpdateOriginatorIdColumn
)
public function ToSyncAdapter (
    includeCreationTrackingColumn : boolean, 
    includeUpdateTrackingColumn : boolean, 
    includeCreationOriginatorIdColumn : boolean, 
    includeUpdateOriginatorIdColumn : boolean
) : SyncAdapter

Parameters

  • includeCreationTrackingColumn
    true to include the column in the client table; otherwise, false.
  • includeUpdateTrackingColumn
    true to include the column in the client table; otherwise, false.
  • includeCreationOriginatorIdColumn
    true to include the column in the client table; otherwise, false.
  • includeUpdateOriginatorIdColumn
    true to include the column in the client table; otherwise, false.

Return Value

A SyncAdapter object.

See Also

Reference

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