ChangeBatchBase.IsLastBatch Property
Gets a value that indicates whether this is the last batch in the synchronization session.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public ReadOnly Property IsLastBatch As Boolean
Get
'Usage
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
Property Value
Type: System.Boolean
True if this is the last batch in the synchronization session. Otherwise, false.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | This ChangeBatchBase has been disposed. |
Remarks
When returning a change batch in response to the GetChangeBatch method, the source provider must call SetLastBatch if the change batch is the last batch of changes. Otherwise, Sync Framework calls GetChangeBatch again to retrieve another batch of changes.