ITDirectoryObject::get_SecurityDescriptor 方法 (rend.h)

[Rendezvous IP Telephony Conferencing controls and interface not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. RTC 用戶端 API 提供類似的功能。]

get_SecurityDescriptor方法會在描述目前安全性許可權的目錄服務安全性描述元物件上取得IDispatch指標。 如需安全性描述項的其他資訊,請在 “IADsSecurityDescriptor” 底下搜尋 Platform Software Development Kit (SDK) 。

語法

HRESULT get_SecurityDescriptor(
  [out] IDispatch **ppSecDes
);

參數

[out] ppSecDes

目錄服務安全性描述元物件上的IDispatch指標。

傳回值

這個方法可以傳回下列其中一個值。

傳回碼 描述
S_OK
方法成功。
E_POINTER
ppSecDes 參數不是有效的指標。
E_FAIL
安全性描述項的初始化失敗。
E_OUTOFMEMORY
記憶體不足,無法執行作業。

備註

如果尚未設定安全性描述項,這個方法會將 ppSecDes 設定為 NULL

規格需求

需求
目標平台 Windows
標頭 rend.h
Dll Rend.dll

另請參閱

ITDirectoryObject

ITDirectoryObject::p ut_SecurityDescriptor