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

SWbemPrivilege

Previous pageReturn to chapter overviewNext page

SWbemPrivilege对象表示单个权限。该对象不能由VBScript CreateObject调用创建。

 

方法

 

SWbemPrivilege对象未定义任何方法。

 

属性

 

SWbemPrivilege对象定义了以下属性。

 

属性

描述

显示名称

显示此权限的名称。

识别码

表示正在设置或检索的特权的整数。

IsEnabled

指示此特权是否启用的布尔值。

名称

此权限的名称。

 

要求

 

客户

需要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。

DLL

需要Wbemdisp.dll。