SWbemObjectPath.Authority 屬性

SWbemObjectPath物件的 Authority 屬性包含定義物件路徑的Authority元件字串。 如需詳細資訊,請參閱SWbemLocator.ConnectServer方法的strAuthority參數和在 IWbemServices 和其他 Proxy 上設定安全性。

如需此語法的說明,請參閱 腳本 API 的檔慣例。

這是可讀寫的屬性。

Syntax

SWbemObjectPath.Authority As String

屬性值

規格需求

需求 值
最低支援的用戶端
Windows Vista
最低支援的伺服器
Windows Server 2008
標頭
Wbemdisp.h
類型程式庫
Wbemdisp.tlb
DLL
Wbemdisp.dll
CLSID
CLSID_SWbemObjectPath
IID
IID_ISWbemObjectPath