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
Properties
Windows ADSI Object Properties
Metabase Properties
A-Asp... |
|
---|---|
Auth...-I |
|
Log... |
|
M-U |
|
Methods
Resumes the server. |
|
Pauses the server. |
|
Starts the server. |
|
Retrieves the current status of the server. |
|
Stops the server. |
|
Standard methods for ADSI objects. |
|
Standard methods for ADSI container objects. |
Requirements
Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Product: IIS