Gets the IADs interface of the Active Directory object in this container identified by the object's schema class and relative name.
HRESULT IADsCollection::GetObject(
BSTR bstrName, //Name of item
VARIANT pvarItem //Value retrieved
);
This method supports the standard return values E_FAIL and E_UNEXPECTED, as well as the following:
Windows NT: Use version 4.0 and later.
Windows CE: Unsupported.
Header: Declared in iads.h.
IEnumVARIANT, ADSI Enumerator Object