cn.chenlichao.wmi4j
类 SWbemLastError

java.lang.Object
  继承者 cn.chenlichao.wmi4j.AbstractSecurityScriptingObject
      继承者 cn.chenlichao.wmi4j.SWbemLastError

public class SWbemLastError
extends AbstractSecurityScriptingObject

todo implement Created by chenlichao on 14-7-28.


方法摘要
 SWbemPropertySet getProperties()
          Returns an SWbemPropertySet object that is a collection of the properties for the current class or instance.
 WMIVariant getPropertyByName(String propertyName)
          Get the variant value of the specified WMI property.
 
从类 cn.chenlichao.wmi4j.AbstractSecurityScriptingObject 继承的方法
getSecurity
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

getProperties

public SWbemPropertySet getProperties()
                               throws WMIException
Returns an SWbemPropertySet object that is a collection of the properties for the current class or instance. This property is read-only.

返回:
An SWbemPropertySet object that is a collection of the properties for the current class or instance.
抛出:
WMIException

getPropertyByName

public WMIVariant getPropertyByName(String propertyName)
                             throws WMIException
Get the variant value of the specified WMI property.

参数:
propertyName - Name of the property.
返回:
The variant value of the specified WMI property.
抛出:
WMIException


Copyright © 2014. All rights reserved.