|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcn.chenlichao.wmi4j.SWbemMethod
public class SWbemMethod
You can use the properties of the SWbemMethod object to inspect a single method definition of a WMI object.
This object can be used to inspect the definitions of methods.
To invoke the methods, you should use either direct access on an SWbemObject (which is the recommended mechanism) object,
or the SWbemServices.execMethod() call.
Note: In this version of the API, write access to method information is not supported. If you want to define methods or modify existing method definitions, you can define the method changes in a MOF file and submit the changes using the MOF Compiler. Alternatively, use the COM API for WMI.
Created by chenlichao on 14-7-26.
| 方法摘要 | |
|---|---|
SWbemObject |
getInParameters()
Get an SWbemObject object whose properties define the input parameters for this method. |
String |
getName()
Return a string that describes the name of this method. |
String |
getOrigin()
Retrieves the name of the WMI class in which this method was introduced. |
SWbemObject |
getOutParameters()
Get an SWbemObject object whose properties define the out parameters and return type of this method. |
SWbemQualifierSet |
getQualifiers()
Returns an SWbemQualifierSet object that is a collection of qualifiers for this WMI method. |
| 从类 java.lang.Object 继承的方法 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 方法详细信息 |
|---|
public SWbemObject getInParameters()
throws WMIException
SWbemObject object whose properties define the input parameters for this method.
This property is read-only. Note that any changes that are made to this object are not reflected in the underlying method definition.
SWbemObject object whose properties define the input parameters for this method.
WMIException
public String getName()
throws WMIException
WMIException
public String getOrigin()
throws WMIException
SWbemQualifier.isLocal()),
this value is the same as the owning class. This property is read-only.
WMIException
public SWbemObject getOutParameters()
throws WMIException
WMIException
public SWbemQualifierSet getQualifiers()
throws WMIException
SWbemQualifierSet object that is a collection of qualifiers for this WMI method.
This property is read-only.
SWbemQualifierSet object that is a collection of qualifiers for this WMI method.
WMIException
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||