IsLastBatch propriété
Obtient une valeur qui indique s'il s'agit du dernier lot de la session de synchronisation.
Espace de noms : Microsoft.Synchronization
Assembly : Microsoft.Synchronization (dans Microsoft.Synchronization.dll)
Syntaxe
'Déclaration
Public ReadOnly Property IsLastBatch As Boolean
Get
'Utilisation
Dim instance As ChangeBatchBase
Dim value As Boolean
value = instance.IsLastBatch
public bool IsLastBatch { get; }
public:
property bool IsLastBatch {
bool get ();
}
member IsLastBatch : bool
function get IsLastBatch () : boolean
Valeur de la propriété
Type : System. . :: . .Boolean
true s'il s'agit du dernier lot de la session de synchronisation. Sinon, false.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Cet objet ChangeBatchBase a été supprimé. |
Notes
Lors du retour d'un lot de modifications en réponse à la méthode GetChangeBatch, le fournisseur de source doit appeler SetLastBatch si le lot de modifications est le dernier. Sinon, Sync Framework appelle de nouveau la méthode GetChangeBatch pour récupérer un autre lot de modifications.