Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
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 |