|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcn.chenlichao.wmi4j.SWbemPrivilege
public class SWbemPrivilege
The SWbemPrivilege object represents a single privilege. Created by chenlichao on 14-7-28.
| 方法摘要 | |
|---|---|
String |
getDisplayName()
Displays a description of an SWbemPrivilege object. |
WbemPrivilegeEnum |
getIdentifier()
The identifier property of an SWbemPrivilege object is an WbemPrivilegeEnum
that represents the privilege that is being set or retrieved. |
String |
getName()
A string that uniquely describes a privilege. |
boolean |
isEnabled()
If this privilege is enabled or disabled. |
void |
setEnabled(boolean enabled)
Enable the privilege or disable it. |
void |
setIdentifier(WbemPrivilegeEnum identifier)
Set the identifier of privilege object. |
| 从类 java.lang.Object 继承的方法 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 方法详细信息 |
|---|
public String getDisplayName()
throws WMIException
WMIException
public WbemPrivilegeEnum getIdentifier()
throws WMIException
WbemPrivilegeEnum
that represents the privilege that is being set or retrieved.
WbemPrivilegeEnum identifier of privilege
WMIException
public void setIdentifier(WbemPrivilegeEnum identifier)
throws WMIException
identifier - the identifier of privilege object.
WMIException
public boolean isEnabled()
throws WMIException
WMIException
public void setEnabled(boolean enabled)
throws WMIException
enabled - True will enabled the privilege, false will disable.
WMIException
public String getName()
throws WMIException
WMIException
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||