类 cn.chenlichao.wmi4j.WMIException
的使用

使用 WMIException 的软件包
cn.chenlichao.wmi4j   
 

cn.chenlichao.wmi4jWMIException 的使用
 

抛出 WMIExceptioncn.chenlichao.wmi4j 中的方法
 SWbemProperty SWbemPropertySet.add(String name, WbemCimTypeEnum cimType)
          Use default parameters for SWbemPropertySet.add(String, cn.chenlichao.wmi4j.consts.WbemCimTypeEnum, Boolean, Integer)
 SWbemProperty SWbemPropertySet.add(String name, WbemCimTypeEnum cimType, Boolean isArray, Integer flags)
          Adds an SWbemProperty object to this collection.
 SWbemQualifier SWbemQualifierSet.add(String name, WMIVariant value)
          Use default parameters for SWbemQualifierSet.add(String, WMIVariant, Boolean, Boolean, Boolean, Integer)
 SWbemQualifier SWbemQualifierSet.add(String name, WMIVariant value, Boolean propagatesToSubclasses, Boolean propagatesToInstances, Boolean overridable, Integer flags)
          Add an SWbemQualifier object to the SWbemQualifierSet collection.
 SWbemPrivilege SWbemPrivilegeSet.add(WbemPrivilegeEnum privilege, Boolean enabled)
          Adds an SWbemPrivilege object to the collection.
 SWbemPrivilege SWbemPrivilegeSet.addAsString(WbemPrivilegeEnum privilege, Boolean enabled)
          You can use the addAsString method to add a privilege to the collection using a privilege string.
 SWbemObjectSet SWbemObject.associators()
          Use default parameters for method SWbemObject.associators(String, String, String, String, Boolean, Boolean, String, String, SWbemNamedValueSet, cn.chenlichao.wmi4j.consts.Flags.AssociatorsFlag...)
 SWbemObjectSet SWbemObject.associators(String assocClass, String resultClass, String resultRole, String role, Boolean classesOnly, Boolean schemaOnly, String requiredAssocQualifier, String requiredQualifier, SWbemNamedValueSet objwbemNamedValueSet, Flags.AssociatorsFlag... flags)
          Returns a collection of objects (classes or instances) that are associated with the current object.
 SWbemObjectSet SWbemServices.associatorsOf(String objectPath)
          Use default parameters for method SWbemServices.associatorsOf(String, String, String, String, String, Boolean, Boolean, String, String, SWbemNamedValueSet, cn.chenlichao.wmi4j.consts.Flags.AssociatorsFlag...)
 SWbemObjectSet SWbemServices.associatorsOf(String objectPath, String assocClass, String resultClass, String resultRole, String role, Boolean classesOnly, Boolean schemaOnly, String requiredAssocQualifier, String requiredQualifier, SWbemNamedValueSet objwbemNamedValueSet, Flags.AssociatorsFlag... flags)
          Returns a collection of objects (classes or instances) called endpoints that are associated with a specified object.
 boolean SWbemObject.compareTo(SWbemObject wbemObject)
          Use default parameters for #compareTo(SWbemObject, Flags.CompareToFlag...
 boolean SWbemObject.compareTo(SWbemObject wbemObject, Flags.CompareToFlag... flags)
          Compares two SWbemObject objects.
 SWbemServices SWbemLocator.connectServer()
          Use default parameters for SWbemLocator.connectServer(String, String, cn.chenlichao.wmi4j.consts.Flags.SecurityFlag, SWbemNamedValueSet)
 SWbemServices SWbemLocator.connectServer(String locale, String authority, Flags.SecurityFlag securityFlag, SWbemNamedValueSet objwbemNamedValueSet)
          The ConnectServer method of the SWbemLocator object connects to the namespace on the computer that is specified in the strServer parameter.
<T> T
SWbemLocator.createObject(Class<T> objectType)
           
 void SWbemObject.delete()
          Use default parameters for SWbemObject.delete(Integer, SWbemNamedValueSet)
 void SWbemObject.delete(Integer flags, SWbemNamedValueSet objWbemNamedValueSet)
          Deletes either the current class or the current instance.
 void SWbemServices.delete(String objectPath)
          Use default parameters for method SWbemServices.delete(String, Integer, SWbemNamedValueSet)
 void SWbemServices.delete(String objectPath, Integer flags, SWbemNamedValueSet objWbemNamedValueSet)
          deletes the class or instance that is specified in the object path.
 void SWbemPrivilegeSet.deleteAll()
          Removes all privileges from the collection, thus emptying it.
 void SWbemLocator.disconnect()
          Disconnect from server and release resources
 SWbemObject SWbemObject.execMethod(String methodName)
          Use default parameters for SWbemObject.execMethod(String, SWbemObject, Integer, SWbemNamedValueSet)
 SWbemObject SWbemServices.execMethod(String objectPath, String methodName)
          Use default parameters for method SWbemServices.execMethod(String, String, SWbemObject, Integer, SWbemNamedValueSet)
 SWbemObject SWbemServices.execMethod(String objectPath, String methodName, SWbemObject inParameters)
          Use default parameters for method SWbemServices.execMethod(String, String, SWbemObject, Integer, SWbemNamedValueSet)
 SWbemObject SWbemServices.execMethod(String objectPath, String methodName, SWbemObject inParameters, Integer flags, SWbemNamedValueSet objWbemNamedValueSet)
          Executes a method that is exported by a method provider.
 SWbemObject SWbemObject.execMethod(String methodName, SWbemObject inParameters)
          Use default parameters for SWbemObject.execMethod(String, SWbemObject, Integer, SWbemNamedValueSet)
 SWbemObject SWbemObject.execMethod(String methodName, SWbemObject inParameters, Integer flags, SWbemNamedValueSet objWbemNamedValueSet)
          Executes a method exported by a method provider.
 SWbemEventSource SWbemServices.execNotificationQuery(String queryString)
          Use default parameters for SWbemServices.execNotificationQuery(String, String, Integer, SWbemNamedValueSet)
 SWbemEventSource SWbemServices.execNotificationQuery(String queryString, String queryLanguage, Integer flags, SWbemNamedValueSet objWbemNamedValueSet)
          Executes a query to receive events.
 SWbemObjectSet SWbemServices.execQuery(String queryString)
          Use default parameters for execQuery method SWbemServices.execQuery(String, String, SWbemNamedValueSet, cn.chenlichao.wmi4j.consts.Flags.ExecQueryFlag...)
 SWbemObjectSet SWbemServices.execQuery(String queryString, String queryLanguage, SWbemNamedValueSet objWbemNamedValueSet, Flags.ExecQueryFlag... flags)
          Executes a query to retrieve objects.
 SWbemObject SWbemServices.get(String objectPath)
          Use default parameters for get method SWbemServices.get(String, SWbemNamedValueSet, cn.chenlichao.wmi4j.consts.Flags.GetFlag...)
 SWbemObject SWbemServices.get(String objectPath, SWbemNamedValueSet objWbemNamedValueSet, Flags.GetFlag... flags)
          Retrieves an object, that is either a class definition or an instance, based on the object path.
 WbemAuthenticationLevelEnum SWbemSecurity.getAuthenticationLevel()
          Get the COM Authentication level that is assigned to this object.
 String SWbemObjectPath.getAuthority()
          Get the Authority component of the object path.
 boolean WMIVariant.getBooleanValue()
           
 char WMIVariant.getCharValue()
           
 WbemCimTypeEnum SWbemProperty.getCIMType()
          Return an integer that can be used to determine the CIM type of this property.
 String SWbemObjectPath.getClazz()
          Get the name of the class that is part of the object path.
 Date WMIVariant.getDateValue()
           
 List<String> SWbemObject.getDerivation()
          An array of strings that describe the class derivation hierarchy for the instance being referenced.
 String SWbemObjectPath.getDisplayName()
          Get the path in a form that can be used as a moniker display name.
 String SWbemPrivilege.getDisplayName()
          Displays a description of an SWbemPrivilege object.
 double WMIVariant.getDoubleValue()
           
 float WMIVariant.getFloatValue()
           
 WbemPrivilegeEnum SWbemPrivilege.getIdentifier()
          The identifier property of an SWbemPrivilege object is an WbemPrivilegeEnum that represents the privilege that is being set or retrieved.
 WbemImpersonationLevelEnum SWbemSecurity.getImpersonationLevel()
          Get the COM impersonation level that is assigned to this object.
 SWbemObject SWbemMethod.getInParameters()
          Get an SWbemObject object whose properties define the input parameters for this method.
 SWbemObject SWbemObject.getInParametersByMethodName(String methodName)
          Get an SWbemObject object whose properties define the input parameters for the specified method.
 int WMIVariant.getIntValue()
           
 SWbemNamedValueSet SWbemObjectPath.getKeys()
          Get an SWbemObjectSet object that contains the key value bindings.
 String SWbemObjectPath.getLocale()
          The Locale property of the SWbemObjectPath object contains the locale of object path.
 long WMIVariant.getLongValue()
           
 SWbemMethodSet SWbemObject.getMethods()
          Returns an SWbemMethodSet object that is a collection of the methods for the current class or instance.
 String SWbemMethod.getName()
          Return a string that describes the name of this method.
 String SWbemProperty.getName()
          Returns the name of this WMI property.
 String SWbemPrivilege.getName()
          A string that uniquely describes a privilege.
 String SWbemQualifier.getName()
          Get the name of this qualifier.
 String SWbemObjectPath.getNamespace()
          Get the name of the namespace that is part of the object path.
 String SWbemObject.getObjectText()
          Use default parameters for SWbemObject.getObjectText(Integer)
 String SWbemObject.getObjectText(Integer flags)
          Returns a textual rendering of the object.
 String SWbemMethod.getOrigin()
          Retrieves the name of the WMI class in which this method was introduced.
 String SWbemProperty.getOrigin()
          Retrieves the name of the WMI class in which this property was introduced.
 SWbemObject SWbemMethod.getOutParameters()
          Get an SWbemObject object whose properties define the out parameters and return type of this method.
 String SWbemObjectPath.getParentNamespace()
          Get the name of the parent namespace that is part of the object path.
 SWbemObjectPath SWbemObject.getPath()
          Returns an SWbemObjectPath object that represents the object path of the current class or instance.
 String SWbemObjectPath.getPath()
          Get the absolute path.
 SWbemPrivilegeSet SWbemSecurity.getPrivileges()
          The privileges property is an SWbemPrivilegeSet object.
 boolean SWbemQualifier.getPropagatesToInstance()
          Indicates if this qualifier can be propagated to an instance.
 boolean SWbemQualifier.getPropagatesToSubClass()
          Indicates if this qualifier can be propagated to an subclass.
 SWbemPropertySet SWbemObject.getProperties()
          Returns an SWbemPropertySet object that is a collection of the properties for the current class or instance.
 SWbemPropertySet SWbemLastError.getProperties()
          Returns an SWbemPropertySet object that is a collection of the properties for the current class or instance.
 WMIVariant SWbemObject.getPropertyByName(String propertyName)
          Get the variant value of the specified WMI property.
 WMIVariant SWbemLastError.getPropertyByName(String propertyName)
          Get the variant value of the specified WMI property.
 SWbemQualifierSet SWbemObject.getQualifiers()
          Returns an SWbemQualifierSet object that is a collection of the qualifiers for the current class or instance.
 SWbemQualifierSet SWbemMethod.getQualifiers()
          Returns an SWbemQualifierSet object that is a collection of qualifiers for this WMI method.
 SWbemQualifierSet SWbemProperty.getQualifiers()
          Returns an SWbemQualifierSet object that is a collection of qualifiers for this WMI property.
 String SWbemObjectPath.getRelPath()
          Get the relative path from the complete path.
 SWbemSecurity SWbemObjectSet.getSecurity()
          The security property is used to read, or set the security settings.
 SWbemSecurity AbstractSecurityScriptingObject.getSecurity()
          The security property is used to read, or set the security settings.
 String SWbemObjectPath.getServer()
          Get the name of the server that is part of the object path.
 short WMIVariant.getShortValue()
           
 String WMIVariant.getStringValue()
           
 SWbemObject WMIVariant.getSWbemObjectValue()
           
 WMIVariant SWbemProperty.getValue()
          Get the variant value of the WMI property.
 WMIVariant SWbemQualifier.getValue()
          Get the variant value of this qualifier.
 boolean SWbemProperty.getValueAsBoolean()
          Get the variant value of the WMI property as boolean value.
 int SWbemProperty.getValueAsInteger()
          Get the variant value of the WMI property as integer.
 String SWbemProperty.getValueAsString()
          Get the variant value of the WMI property as string.
 SWbemObjectSet SWbemObject.instances()
          Use default parameters for SWbemObject.instances(SWbemNamedValueSet, Flags.InstancesFlag...)
 SWbemObjectSet SWbemObject.instances(SWbemNamedValueSet objWbemNamedValueSet, Flags.InstancesFlag... flags)
          Creates an enumerator that returns the instances of the current class object.
 SWbemObjectSet SWbemServices.instancesOf(String className)
          Use default parameters for method SWbemServices.instancesOf(String, SWbemNamedValueSet, cn.chenlichao.wmi4j.consts.Flags.InstancesFlag...)
 SWbemObjectSet SWbemServices.instancesOf(String className, SWbemNamedValueSet objWbemNamedValueSet, Flags.InstancesFlag... flags)
          Creates an enumerator that returns the instances of a specified class according to the user-specified selection criteria.
 boolean SWbemQualifier.isAmended()
          Get a Boolean value that indicates if this qualifier has been localized using a merge operation.
 boolean SWbemProperty.isArray()
          Boolean value that can be used to determine if this property has an array type.
 boolean SWbemObjectPath.isClass()
          Indicates if this path represents a class.
 boolean SWbemPrivilege.isEnabled()
          If this privilege is enabled or disabled.
 boolean SWbemProperty.isLocal()
          Boolean value that can be used to determine if this property is local.
 boolean SWbemQualifier.isLocal()
          Indicates if this qualifier is local.
 boolean SWbemQualifier.isOverridable()
          Indicates if this qualifier can be overridden when propagated.
 boolean SWbemObjectPath.isSingleton()
          Indicates if this path represents a singleton instance.
 SWbemQualifier SWbemQualifierSet.item(String name)
          Use default parameters for SWbemQualifierSet.item(String, Integer)
 SWbemMethod SWbemMethodSet.item(String methodName)
          Use default parameters for SWbemMethodSet.item(String, Integer)
 SWbemProperty SWbemPropertySet.item(String name)
          Use default parameters for SWbemPropertySet.item(String, Integer)
 SWbemObject SWbemObjectSet.item(String objectPath)
          The Item method of the SWbemObjectSet object gets an SWbemObject from the collection.
 SWbemQualifier SWbemQualifierSet.item(String name, Integer flags)
          Gets a named SWbemQualifier from the collection.
 SWbemMethod SWbemMethodSet.item(String methodName, Integer flags)
          Returns a named SWbemMethod object from the collection.
 SWbemProperty SWbemPropertySet.item(String name, Integer flags)
          Gets a named SWbemProperty from the collection.
 SWbemPrivilege SWbemPrivilegeSet.item(WbemPrivilegeEnum privilege)
          Get the specified SWbemPrivilege object from the collection.
 SWbemObject SWbemObjectSet.itemIndex(int index)
          The itemIndex method returns the SWbemObject associated with the specified index into the collection.
 SWbemObject SWbemEventSource.nextEvent(Long timeoutMs)
          If an event is available, the nextEvent method retrieves the event from an event query.
 SWbemObjectPath SWbemObject.put()
          Use default parameters for SWbemObject.put(SWbemNamedValueSet, cn.chenlichao.wmi4j.consts.Flags.PutFlag...)
 SWbemObjectPath SWbemObject.put(SWbemNamedValueSet objWbemNamedValueSet, Flags.PutFlag... flags)
          Creates or updates an instance or a class object to Windows Management Instrumentation (WMI).
 SWbemObjectSet SWbemObject.references()
          Use default parameters for SWbemObject.references(String, String, Boolean, Boolean, String, SWbemNamedValueSet, cn.chenlichao.wmi4j.consts.Flags.ReferenceFlag...)
 SWbemObjectSet SWbemObject.references(String resultClass, String role, Boolean classesOnly, Boolean schemaOnly, String requiredQualifier, SWbemNamedValueSet objWbemNamedValueSet, Flags.ReferenceFlag... flags)
          Returns a collection of all association classes or instances that refer to the current object.
 SWbemObjectSet SWbemServices.referencesTo(String objectPath)
          Use default parameters for method SWbemServices.referencesTo(String, String, String, Boolean, Boolean, String, SWbemNamedValueSet, cn.chenlichao.wmi4j.consts.Flags.ReferenceFlag...)
 SWbemObjectSet SWbemServices.referencesTo(String objectPath, String resultClass, String role, Boolean classesOnly, Boolean schemaOnly, String requiredQualifier, SWbemNamedValueSet objWbemNamedValueSet, Flags.ReferenceFlag... flags)
          Returns a collection of all association classes or instances that refer to a specific source class or instance.
 void SWbemQualifierSet.remove(String name)
          Use default parameters for SWbemQualifierSet.remove(String, Integer)
 void SWbemPropertySet.remove(String name)
          Use default parameters for SWbemPropertySet.remove(String, Integer)
 void SWbemQualifierSet.remove(String name, Integer flags)
          Delete a qualifier from the collection.
 void SWbemPropertySet.remove(String name, Integer flags)
          Delete a property from the collection.
 void SWbemPrivilegeSet.remove(WbemPrivilegeEnum privilege)
          Delete the specified SWbemPrivilege object from the collection.
 void SWbemObjectPath.setAsClass()
          Forces the path to address a WMI class.
 void SWbemObjectPath.setAsSingleton()
          Forces the path to address a singleton WMI instance of a class.
 void SWbemSecurity.setAuthenticationLevel(WbemAuthenticationLevelEnum level)
          Set the COM Authentication level that is assigned to this object.
 void SWbemObjectPath.setAuthority(String authority)
          Set the Authority component of the object path.
 void SWbemObjectPath.setClass(String className)
          Set the name of the class that is part of the object path.
 void SWbemObjectPath.setDisplayName(String displayName)
          Set the path in a form that can be used as a moniker display name.
 void SWbemPrivilege.setEnabled(boolean enabled)
          Enable the privilege or disable it.
 void SWbemPrivilege.setIdentifier(WbemPrivilegeEnum identifier)
          Set the identifier of privilege object.
 void SWbemSecurity.setImpersonationLevel(WbemImpersonationLevelEnum level)
          Set the COM impersonation level that is assigned to this object.
 void SWbemObjectPath.setLocale(String locale)
          Set the locale of object path.
 void SWbemObjectPath.setNamespace(String namespace)
          Set the name of the namespace that is part of the object path.
 void SWbemQualifier.setOverridable(boolean isOverridable)
          Set if this qualifier can be overridden when propagated.
 void SWbemObjectPath.setPath(String path)
          Set the absolute path.
 void SWbemQualifier.setPropagatesToInstance(boolean propagatesToInstance)
          Set if this qualifier can be propagated to an instance.
 void SWbemObject.setPropertyByName(String propertyName, WMIVariant value)
          Set the variant value of the specified WMI property
 void SWbemObjectPath.setRelPath(String relPath)
          Set the relative path from the complete path.
 void SWbemObjectPath.setServer(String server)
          Set the name of the server that is part of the object path.
 void SWbemProperty.setValue(WMIVariant variant)
          Set the variant value of the WMI property.
 void SWbemQualifier.setValue(WMIVariant variant)
          Set the variant value of this qualifier.
 SWbemObject SWbemObject.spawnDerivedClass()
          Use default parameters for SWbemObject.spawnDerivedClass(Integer)
 SWbemObject SWbemObject.spawnDerivedClass(Integer flags)
          Create a derived class object from the current object.
 SWbemObject SWbemObject.spawnInstance()
          Use default parameters for SWbemObject.spawnInstance(Integer)
 SWbemObject SWbemObject.spawnInstance(Integer flags)
          Create a new instance of a class.
 SWbemObjectSet SWbemObject.subclasses()
          Use default parameters for SWbemObject.subclasses(SWbemNamedValueSet, cn.chenlichao.wmi4j.consts.Flags.SubclassesFlag...)
 SWbemObjectSet SWbemObject.subclasses(SWbemNamedValueSet objWbemNamedValueSet, Flags.SubclassesFlag... flags)
          Returns an SWbemObjectSet object.
 SWbemObjectSet SWbemServices.subclassesOf(String superClass, SWbemNamedValueSet objWbemNamedValueSet, Flags.SubclassesFlag... flags)
          Returns an SWbemObjectSet object.
 SWbemObject SWbemObject.wmiClone()
          Returns a new object that is a clone of the current object.
 



Copyright © 2014. All rights reserved.