Compartir a través de


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
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.

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

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