ADSI Object Properties

The IIS Admin Objects implement the six basic properties that ADSI objects require. The data type for all of these properties is 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 client programs for ADSI namespace administration. The following table provides an example of the ADSI properties for the IIsWebService object. LocalHost is a placeholder for the name of 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.

You can 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.