Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Adds a specified item change to the group that is currently open
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)
Syntax
'Declaration
Public Sub AddChange ( _
    change As ItemChange _
)
'Usage
Dim instance As ChangeBatchBase
Dim change As ItemChange
instance.AddChange(change)
public void AddChange (
    ItemChange change
)
public:
void AddChange (
    ItemChange^ change
)
public void AddChange (
    ItemChange change
)
public function AddChange (
    change : ItemChange
)
Parameters
- change
An item change to add to the group that is currently open. 
Exceptions
| Exception type | Condition | 
|---|---|
The change batch has already been sent to a change applier or synchronization session. Changes cannot be added to the batch after it has been sent.  | 
Remarks
Before item changes can be added to a ChangeBatchBase object, a group must be opened by calling BeginOrderedGroup or the BeginUnorderedGroup method of the ChangeBatch object. Otherwise, this method throws InvalidOperationException.
See Also
Reference
ChangeBatchBase Class
ChangeBatchBase Members
Microsoft.Synchronization Namespace