Server.BeginUpdateBatch Method

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 - IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on Windows Server 2008
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
MOF file WebAdministration.mof

See Also

Server Class
Server.EndUpdateBatch Method