RelationalSyncProvider.GetChangeBatch Método

Obtiene un lote de cambios para sincronizar cuando se proporcionan los siguientes parámetros: tamaño del lote, conocimiento de destino y recuperador de datos de cambio.

Este método no es compatible con CLS.  

Espacio de nombres: Microsoft.Synchronization.Data
Ensamblado: Microsoft.Synchronization.Data (en microsoft.synchronization.data.dll)

Sintaxis

'Declaración
Public Overrides Function GetChangeBatch ( _
    batchSize As UInteger, _
    destinationKnowledge As SyncKnowledge, _
    <OutAttribute> ByRef changeDataRetriever As Object _
) As ChangeBatch
'Uso
Dim instance As RelationalSyncProvider
Dim batchSize As UInteger
Dim destinationKnowledge As SyncKnowledge
Dim changeDataRetriever As Object
Dim returnValue As ChangeBatch

returnValue = instance.GetChangeBatch(batchSize, destinationKnowledge, changeDataRetriever)
public override ChangeBatch GetChangeBatch (
    uint batchSize,
    SyncKnowledge destinationKnowledge,
    out Object changeDataRetriever
)
public:
virtual ChangeBatch^ GetChangeBatch (
    unsigned int batchSize, 
    SyncKnowledge^ destinationKnowledge, 
    [OutAttribute] Object^% changeDataRetriever
) override
public ChangeBatch GetChangeBatch (
    UInt32 batchSize, 
    SyncKnowledge destinationKnowledge, 
    /** @attribute OutAttribute() */ /** @ref */ Object changeDataRetriever
)
JScript does not support passing value-type arguments by reference.

Parámetros

  • batchSize
    Número de cambios que se van a sincronizar en cada lote de cambios.
  • destinationKnowledge
    Objeto SyncKnowledge que contiene el conocimiento que un proveedor tiene sobre el almacén remoto en el que se aplican los cambios.
  • changeDataRetriever
    Objeto que se utilizará para recuperar los datos modificados.

Valor devuelto

Objeto ChangeBatch que contiene el lote de cambios que se va a sincronizar.

Vea también

Referencia

RelationalSyncProvider Clase
RelationalSyncProvider Miembros
Microsoft.Synchronization.Data Espacio de nombres