Platform SDK: Active Directory, ADSI, and Directory Services |
The SetObject method provides the interface with an IADs interface pointer to the temporary Active Directory™ object.
HRESULT SetObject( IADs *pADsObj );
The method should always return S_OK.
The implementation must retain the pointer that is passed in by the IUnknown::AddRef method.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Dsadmin.h.