Método SqlSyncAdapterBuilder.ToSyncAdapter (Boolean, Boolean, Boolean, Boolean)
Cria um adaptador de sincronização para a tabela especificada em TableName, com a opção de não baixar colunas de controle no cliente.
Namespace: Microsoft.Synchronization.Data.Server
Assembly: Microsoft.Synchronization.Data.Server (em microsoft.synchronization.data.server.dll)
Sintaxe
'Declaração
Public Function ToSyncAdapter ( _
includeCreationTrackingColumn As Boolean, _
includeUpdateTrackingColumn As Boolean, _
includeCreationOriginatorIdColumn As Boolean, _
includeUpdateOriginatorIdColumn As Boolean _
) As SyncAdapter
'Uso
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
Parâmetros
- includeCreationTrackingColumn
true para incluir a coluna na tabela do cliente; caso contrário, false.
- includeUpdateTrackingColumn
true para incluir a coluna na tabela do cliente; caso contrário, false.
- includeCreationOriginatorIdColumn
true para incluir a coluna na tabela do cliente; caso contrário, false.
- includeUpdateOriginatorIdColumn
true para incluir a coluna na tabela do cliente; caso contrário, false.
Valor de retorno
Um objeto SyncAdapter.
Consulte também
Referência
Classe SqlSyncAdapterBuilder
Membros SqlSyncAdapterBuilder
Namespace Microsoft.Synchronization.Data.Server