Platform SDK: Active Directory, ADSI, and Directory Services

IDsAdminNewObjExt::SetObject

The SetObject method provides the interface with an IADs interface pointer to the temporary Active Directory™ object.

HRESULT SetObject(
  IADs *pADsObj 
);

Parameters

pADsObj
[in] Pointer to an IADs interface for the Active Directory object. The value of this parameter may be NULL.

Return Values

The method should always return S_OK.

Remarks

The implementation must retain the pointer that is passed in by the IUnknown::AddRef method.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Dsadmin.h.

See Also

IDsAdminNewObjExt, IUnknown::AddRef