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)

public:
property bool IsLastBatch {
	bool get ();
}

Property Value

Type: System::Boolean
True if this is the last batch in the synchronization session. Otherwise, false.

ExceptionCondition
ObjectDisposedException

This ChangeBatchBase has been disposed.

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.

Show: