Share via


How to Extend the IIS ADSI Schema

This section includes information and examples on how to implement new objects and properties, and add them to the IIS ADSI Schema.

You will need to use the methods of IADsContainer and IADs objects, as follows:

  • To create a new class for a new object or property, use IADsContainer::Create.
  • To read the attributes of Class and Property objects, use IADs::Get or IADs::GetEx.
  • To set the attributes of Class and Property objects, use IADs::Put or IADs::PutEx.

You must also provide the data type (or syntax) when the new object is created.

This section contains the following code samples:

  • For a reference to available data types, see the Metabase Property Reference sheets.
  • For more information, the IADs and IADsContainer objects can be found in the ADSI section of the Platform SDK.