The ADSI container object GetObject method accesses an object in a container.
Set ChildObj = Object.GetObject(Class, ChildName)
The ChildObj variable receives a pointer to the object itself, which remains in the container.
<%
Dim WebServiceObj, ServerObj
' Get the web service object, which contains servers
Set WebServiceObj = GetObject("IIS://LocalHost/W3SVC")
' Access the object for the third web server
Set ServerObj = WebServiceObj.GetObject("IIsWebServer", "3")
%>
Create, Delete, CopyHere, MoveHere