Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
Sets a value that indicates that this is the last batch in the synchronization session.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Sub SetLastBatch
'Usage
Dim instance As ChangeBatchBase
instance.SetLastBatch()
public void SetLastBatch()
public:
void SetLastBatch()
member SetLastBatch : unit -> unit
public function SetLastBatch()
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | This ChangeBatchBase has been disposed. |
| SyncInvalidOperationException | The current change requires full enumeration, the range is already defined, and the batch boundary is not infinity. |
Remarks
This method must be called on the last batch of changes sent by the source provider; otherwise, Sync Framework continues to request more change batches.