ADSI Object Properties

The IIS Admin Objects implement the six basic properties that ADSI objects require. These properties are all of data type string.

ADSI Property Description
Name The name of the object used within the underlying namespace.
ADsPath The path that uniquely identifies the object, and which is used in GetObject to retrieve the object.
Class The name of the schema class of the object.
GUID A unique identifier for objects of this schema class. IIS uses the Globally Unique Identifier (GUID).
Parent The ADsPath of the parent container object.
Schema The ADsPath of the object that represents this schema class in the schema.

The ADSI object properties are read-only and are provided for use with ADSI-aware programs for ADSI namespace administration. The following table provides an example of the ADSI properties for the IIsWebService object. "LocalHost" is the string that specifies the local computer on which IIS is running.

ADSI Property Value
Name W3SVC
ADsPath IIS://LocalHost/W3SVC
Class IIsWebService
GUID {8B645280-7BA4-11CF-B03D-00AA006E0975}
Parent IIS://LocalHost
Schema IIS://LocalHost/schema/IIsWebService

You can use the ADSI Name property to document the structure of your IIS installation. The Sample Program provides an ASP file that will recursively walk the structure of your installation and display the IIS ADSI object properties in your browser.

You use the metabase properties supported by the IIS Admin Objects to control the configuration of your IIS installation. See ADSI Object Methods and the specific metabase properties supported by each of the individual IIS Admin Objects.


© 1997 by Microsoft Corporation. All rights reserved.