ADSI Container Objects

Any IIS Admin Object that can contain other objects can also implement the IADsContainer interface, in addition to the IADs interface. Examples of IIS Admin Objects that support IADsContainer include the following:

The IADsContainer interface permits objects to contain other objects, and provides a way to implement the following tasks:

The IIS Admin Objects that can contain other objects can also implement container object properties and methods. These objects accomplish this by supporting the IADsContainer interface, the _NewEnum and Count properties, and the GetObject, Create, and Delete methods. IIS Admin Objects also support the basic IADs interface properties and methods, and any IIS-specific or extended properties and methods.

For more information, see the ADSI Reference.