The IIsWebDirectory object is used to set metabase properties that apply to one or more Web directories for a Web server. When you use the IIsWebDirectory object to set metabase properties for a Web directory, inheritable properties will apply to all subdirectories and files.
You also can use IIsWebDirectory methods to create and manage Web applications in Web directories and subdirectories. Applications can also be defined and managed in virtual directories by using IIsWebVirtualDir (ADSI).
The IIsWebDirectory object is an ADSI container object.
- IIS:// MachineName/W3SVC/ N/ROOT/ vdirName/ DirName
where MachineName can be any name or LocalHost.
varReturn=object. Method
- varReturn
A variable that receives the return value from the method.
- object
A variable that contains the IIsWebDirectory object, usually as a result of a previous GetObject operation.
- Method
The object method chosen.
Web directories can be nested and are addressed with the path to the directory, including the directory name (for example, .../ vdirName/Dir1/Dir1a/Dir1ab, and so on).
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
Concepts