SWbemObjectPath.Authority 属性

SWbemObjectPath 对象的 Authority 属性包含定义对象路径的 Authority 组件的字符串。 有关详细信息,请参阅 SWbemLocator.ConnectServer 方法的 strAuthority 参数以及在 IWbemServices 和其他代理上设置安全性。

有关此语法的说明,请参阅脚本 API 的文档约定。

此属性是可读写的。

语法

SWbemObjectPath.Authority As String

属性值

要求

要求 值
最低受支持的客户端
Windows Vista
最低受支持的服务器
Windows Server 2008
标头
Wbemdisp.h
类型库
Wbemdisp.tlb
DLL
Wbemdisp.dll
CLSID
CLSID_SWbemObjectPath
IID
IID_ISWbemObjectPath