IDsDisplaySpecifier::GetAttributeADsType 方法會擷取指定屬性的屬性類型。
語法
ADSTYPE GetAttributeADsType(
[in] LPCWSTR pszAttributeName
);
參數
[in] pszAttributeName
Null 終止的 Unicode 字串指標,其中包含要取得型別的屬性名稱。
傳回值
傳回其中一個 ADSTYPEENUM 值,指出屬性的類型。
規格需求
| 需求 | 值 |
|---|---|
| 最低支援的用戶端 | Windows Vista |
| 最低支援的伺服器 | Windows Server 2008 |
| 目標平台 | Windows |
| 標頭 | dsclient.h |
| Dll | Dsadmin.dll |