IDsAdminNewObjExt::SetObject method (dsadmin.h)

The IDsAdminNewObjExt::SetObject method provides the object creation extension with a pointer to the directory object created.

Syntax

HRESULT SetObject(
  [in] IADs *pADsObj
);

Parameters

[in] pADsObj

Pointer to an IADs interface for the object. This parameter may be NULL. If this object is to be kept beyond the scope of this method, the reference count must be incremented by calling IUnknown::AddRef or IUnknown::QueryInterface.

Return value

The method should always return S_OK.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header dsadmin.h
DLL DSAdmin.dll

See also

IADs

IDsAdminNewObjExt

IUnknown::AddRef

IUnknown::QueryInterface