GetFullEnumerationChangeBatch méthode
Obtient un lot de modifications du fournisseur non managé dans le cadre d'une énumération complète.
Espace de noms : Microsoft.Synchronization
Assembly : Microsoft.Synchronization (dans Microsoft.Synchronization.dll)
Syntaxe
'Déclaration
Public Overrides Function GetFullEnumerationChangeBatch ( _
batchSize As UInteger, _
lowerEnumerationBound As SyncId, _
knowledgeForDataRetrieval As SyncKnowledge, _
<OutAttribute> ByRef changeDataRetriever As Object _
) As FullEnumerationChangeBatch
'Utilisation
Dim instance As UnmanagedSyncProviderWrapper
Dim batchSize As UInteger
Dim lowerEnumerationBound As SyncId
Dim knowledgeForDataRetrieval As SyncKnowledge
Dim changeDataRetriever As Object
Dim returnValue As FullEnumerationChangeBatch
returnValue = instance.GetFullEnumerationChangeBatch(batchSize, _
lowerEnumerationBound, knowledgeForDataRetrieval, _
changeDataRetriever)
public override FullEnumerationChangeBatch GetFullEnumerationChangeBatch(
uint batchSize,
SyncId lowerEnumerationBound,
SyncKnowledge knowledgeForDataRetrieval,
out Object changeDataRetriever
)
public:
virtual FullEnumerationChangeBatch^ GetFullEnumerationChangeBatch(
unsigned int batchSize,
SyncId^ lowerEnumerationBound,
SyncKnowledge^ knowledgeForDataRetrieval,
[OutAttribute] Object^% changeDataRetriever
) override
abstract GetFullEnumerationChangeBatch :
batchSize:uint32 *
lowerEnumerationBound:SyncId *
knowledgeForDataRetrieval:SyncKnowledge *
changeDataRetriever:Object byref -> FullEnumerationChangeBatch
override GetFullEnumerationChangeBatch :
batchSize:uint32 *
lowerEnumerationBound:SyncId *
knowledgeForDataRetrieval:SyncKnowledge *
changeDataRetriever:Object byref -> FullEnumerationChangeBatch
public override function GetFullEnumerationChangeBatch(
batchSize : uint,
lowerEnumerationBound : SyncId,
knowledgeForDataRetrieval : SyncKnowledge,
changeDataRetriever : Object
) : FullEnumerationChangeBatch
Paramètres
- batchSize
Type : System. . :: . .UInt32
Nombre de modifications à inclure dans le lot de modifications retourné.
- lowerEnumerationBound
Type : Microsoft.Synchronization. . :: . .SyncId
Limite inférieure fermée des ID d'élément à énumérer. Cette méthode retourne les modifications dont les ID d'élément sont supérieurs ou égaux à cette valeur.
- knowledgeForDataRetrieval
Type : Microsoft.Synchronization. . :: . .SyncKnowledge
Objet de connaissance qui spécifie les éléments pour lesquels des données sont déjà connues.
- 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. . :: . .FullEnumerationChangeBatch
Lot de modifications provenant du fournisseur non managé.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Cet objet UnmanagedSyncProviderWrapper n'est pas initialisé. |
ArgumentNullException | lowerEnumerationBound ou knowledgeForDataRetrieval est une null Nothing nullptr unit une référence Null (Nothing dans Visual Basic) . |
Notes
Cette méthode encapsule la méthode IKnowledgeSyncProvider::GetFullEnumerationChangeBatch 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