勇芳软件工作室.汉化:  Windows Management Instrumentation > Scripting API for WMI > Scripting API Objects > SWbemObjectPath >

Security_ Property

Previous pageReturn to chapter overviewNext page

描述

 

SWbemObjectPath对象的安全属性用于获取或设置对象路径的安全组件。请注意,它不用于设置SWbemObjectPath对象本身的安全属性。它仅用于表示SWbemLocator对象的路径的安全组件。此属性是SWbemSecurity对象。

 

注意SWbemObjectPath对象的SWbemObjectPath属性设置为NULL,可以随时无限制地访问所有人。有关详细信息,请参阅SWbemSecurity.

 

PowerBASIC 语法

 

PROPERTY GET Security_ () AS ISWbemSecurity

 

返回值

 

一个SWbemSecurity对象。

 

要求

 

客户

需要Windows Vista,Windows XP,Windows 2000 Professional,Windows NT Workstation 4.0 SP4及更高版本,Windows Me,Windows 98或Windows 95 OSR2及更高版本。

服务器

需要Windows Server 2008,Windows Server 2003,Windows 2000 Server或Windows NT Server 4.0 SP4及更高版本。

类型库

使用Wbemdisp.tlb。

Wbemdisp.inc。

DLL

需要Wbemdisp.dll。