Using Schema Interfaces

The IIS ADSI Schema is implemented as a group of objects stored in the metabase; this makes it possible to manipulate the Schema using the standard ADSI object and container interfaces, IADs and IADsContainer. When extending the IIS ADSI Schema, developers should use the IADs and IADsContainer interfaces.

The Schema container is located at IIS://LocalHost/Schema. To access the IIS ADSI Schema you can implement a script or ASP page to point to the IIS ADSI Schema location. To set the path, you might use the following code:

<%
dim root
dim schemaObj
set SchemaObj = GetObject ("IIS://" & MachineName & "/Schema")
...
%>
 

For more information regarding the IADs and IADsExtension interfaces, see the ADSI Reference section, under the Networking Services topic, in the Platform SDK.