Server.BeginUpdateBatch Method [IIS 7 and higher]
Begins a batch of configuration changes for the specified path.
Syntax
oServer.BeginUpdateBatch
oServer.BeginUpdateBatch();
Parameters
Name |
Description |
---|---|
Path |
A string value that specifies the path to which the configuration changes will be applied. |
Return Value
This method does not return a value.
Remarks
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.
Requirements
Type |
Description |
---|---|
Client |
Requires IIS 7 on Windows Vista. |
Server |
Requires IIS 7 on Windows Server 2008. |
Product |
IIS 7 |
MOF file |
WebAdministration.mof |