title | description | ms.date | ms.assetid |
---|---|---|---|
Server.BeginUpdateBatch Method |
This article contains information about syntax, return value, and requirements for the Server.BeginUpdateBatch method. |
10/07/2016 |
6a748c8c-c7a4-4adc-846b-5388f8064b2f |
Begins a batch of configuration changes for the specified path.
oServer.BeginUpdateBatch
oServer.BeginUpdateBatch();
Name | Description |
---|---|
Path |
A string value that specifies the path to which the configuration changes will be applied. |
This method does not return a value.
This method sets a flag in the provider after which incoming change notifications and calls to commit changes are ignored.
The configuration changes that are made will be stored in memory until the EndUpdateBatch method of the Server object is called.
Batch updates should be done between calls to the BeginUpdateBatch
method and the EndUpdateBatch
method. All updates should be made to the same commit path.
Note
The BeginUpdateBatch
and EndUpdateBatch
methods work only while the current WMI worker process is running. If the process is shut down by WMI due to idle timeout (normally after 30 seconds), any changes that have been made will be lost.
Type | Description |
---|---|
Client | - [!INCLUDEiis70] on [!INCLUDEwinvista] - [!INCLUDEiis75] on [!INCLUDEwin7] - [!INCLUDEiis80] on [!INCLUDEwin8] - [!INCLUDEiis100] on [!INCLUDEwin10] |
Server | - [!INCLUDEiis70] on [!INCLUDEwinsrv2008] - [!INCLUDEiis75] on [!INCLUDEwinsrv2008r2] - [!INCLUDEiis80] on [!INCLUDEwinsrv2012] - [!INCLUDEiis85] on [!INCLUDEwinsrv2012r2] - [!INCLUDEiis100] on [!INCLUDEwinsrv2016] |
Product | - [!INCLUDEiis70], [!INCLUDEiis75], [!INCLUDEiis80], [!INCLUDEiis85], [!INCLUDEiis100] |
MOF file | WebAdministration.mof |