IIsWebServer (ADSI)
You can use the IIsWebServer object to set metabase properties that apply to a specific Web virtual server and to set inheritable metabase properties for virtual directories, Web directories, and Web files. Specific methods are also available to control server operation. Web virtual servers are identified in the metabase by their index numbers. The first Web server is number 1, the second is number 2, and so on.
The IIsWebServer object is an IIS ADSI container object.
ADsPath
IIS://MachineName/W3SVC/N
where MachineName can be any computer name or LocalHost.
Syntax
varReturn**=** objWebServer.Method
Parameters
- varReturn
Specifies result value. - ObjWebServer
Refers to the IIS ADSI object. - Method
Specifies the method called.
Can Contain
IIsCertMapper (ADSI) | IIsWebVirtualDir (ADSI) |
IIsFilters (ADSI) |
Properties
Windows ADSI Object Properties
Metabase Properties
Methods
IIsWebServer.Continue (ADSI) | Resumes the server. |
IIsWebServer.Pause (ADSI) | Pauses the server. |
IIsWebServer.Start (ADSI) | Starts the server. |
IIsWebServer.Status (ADSI) | Retrieves the current status of the server. |
IIsWebServer.Stop (ADSI) | Stops the server. |
Related Topics
Windows ADSI Object Methods | Standard methods for ADSI objects. |
Windows ADSI Container Object Methods | Standard methods for ADSI container objects. |