GetChangeBatch méthode
Obtient un lot de modifications du fournisseur non managé.
Espace de noms : Microsoft.Synchronization
Assembly : Microsoft.Synchronization (dans Microsoft.Synchronization.dll)
Syntaxe
'Déclaration
Public Overrides Function GetChangeBatch ( _
batchSize As UInteger, _
destinationKnowledge As SyncKnowledge, _
<OutAttribute> ByRef changeDataRetriever As Object _
) As ChangeBatch
'Utilisation
Dim instance As UnmanagedSyncProviderWrapper
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
abstract GetChangeBatch :
batchSize:uint32 *
destinationKnowledge:SyncKnowledge *
changeDataRetriever:Object byref -> ChangeBatch
override GetChangeBatch :
batchSize:uint32 *
destinationKnowledge:SyncKnowledge *
changeDataRetriever:Object byref -> ChangeBatch
public override function GetChangeBatch(
batchSize : uint,
destinationKnowledge : SyncKnowledge,
changeDataRetriever : Object
) : ChangeBatch
Paramètres
- batchSize
Type : System. . :: . .UInt32
Nombre de modifications à inclure dans le lot de modifications retourné.
- destinationKnowledge
Type : Microsoft.Synchronization. . :: . .SyncKnowledge
Connaissance du réplica de destination.
- changeDataRetriever
Type : System. . :: . .Object%
Retourne un objet qui peut être utilisé pour récupérer des données de modification.
Valeur de retour
Type : Microsoft.Synchronization. . :: . .ChangeBatch
Lot de modifications provenant du fournisseur non managé.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Cet objet UnmanagedSyncProviderWrapper n'est pas initialisé. |
ArgumentNullException | destinationKnowledge est une null Nothing nullptr unit une référence Null (Nothing dans Visual Basic) . |
Notes
Cette méthode encapsule la méthode IKnowledgeSyncProvider::GetChangeBatch non managée.
Si un adaptateur d'extracteur de données de modification a été spécifié, cette méthode convertit l'extracteur de données de modification retourné par le fournisseur non managé en sa représentation managée avant de retourner changeDataRetriever. Sinon, l'extracteur de données de modification est simplement retourné, sans conversion.
Voir aussi
Référence
UnmanagedSyncProviderWrapper Classe