Share via


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
'Usage
Dim instance As ChangeBatchBase
Dim value As Boolean

value = instance.IsLastBatch
public bool IsLastBatch { get; }
public:
property bool IsLastBatch {
    bool get ();
}
/** @property */
public boolean get_IsLastBatch ()
public function get IsLastBatch () : boolean

Property Value

True if this is the last batch in the synchronization session. Otherwise, false.

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.

See Also

Reference

ChangeBatchBase Class
ChangeBatchBase Members
Microsoft.Synchronization Namespace