📄 cimclient.h
字号:
parentheses. <UL> <LI>CIM_ERR_ACCESS_DENIED <LI>CIM_ERR_NOT_SUPPORTED <LI>CIM_ERR_INVALID_NAMESPACE <LI>CIM_ERR_INVALID_PARAMETER (including missing, duplicate, unrecognized or otherwise incorrect parameters) <LI>CIM_ERR_INVALID_CLASS (the CIM Class that is the basis for this enumeration does not exist) <LI>CIM_ERR_FAILED (some other unspecified error occurred)</LI> </UL> */ Array<CIMObjectPath> enumerateInstanceNames( const CIMNamespaceName& nameSpace, const CIMName& className ); /** The <TT>execQuery</TT> is used to execute a query against the target Namespace. @param nameSpace The nameSpace parameter is a string that defines the target namespace. See defintion of \URL[Namespace]{DefinitionofTerms.html#NAMESPACE}. @param queryLanguage The <TT>queryLanguage</TT> String input parameter defines the query language in which the Query parameter is expressed. @param query The <TT>query</TT> input parameter defines the query to be executed. @return If successful, the method returns zero or more CIM Classes or Instances that correspond to the results set of the query. If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses. <UL> <LI>CIM_ERR_ACCESS_DENIED <LI>CIM_ERR_NOT_SUPPORTED <LI>CIM_ERR_INVALID_NAMESPACE <LI>CIM_ERR_INVALID_PARAMETER (including missing, duplicate, unrecognized or otherwise incorrect parameters) <LI>CIM_ERR_QUERY_LANGUAGE_NOT_SUPPORTED (the requested query language is not recognized) <LI>CIM_ERR_INVALID_QUERY (the query is not a valid query in the specified query language) <LI>CIM_ERR_FAILED (some other unspecified error ccurred)</LI> </UL> */ Array<CIMObject> execQuery( const CIMNamespaceName& nameSpace, const String& queryLanguage, const String& query ); /** The <TT>Associators</TT> method enumerates CIM Objects (Classes or Instances) that are associated to a particular source CIM Object. @param nameSpace The nameSpace parameter is a string that defines the target namespace. See defintion of \URL[Namespace]{DefinitionofTerms.html#NAMESPACE}. @param objectName The <TT>objectName</TT> input parameter defines the source CIM Object whose associated Objects are to be returned. This may be either a Class name or Instance name (model path). @param assocClass The <TT>assocClass</TT> input parameter, if not NULL, MUST be a valid CIM Association Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Instance of this Class or one of its subclasses. @param resultClass The <TT>resultClass</TT> input parameter, if not NULL, MUST be a valid CIM Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses) or be this Class (or one of its subclasses). @param role The <TT>role</TT> input parameter, if not NULL, MUST be a valid CIMProperty name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the CIMProperty in the Association Class that refers to the source object MUST match the value of this parameter). @param resultRole The <TT>resultRole</TT> input parameter, if not NULL, MUST be a valid CIMProperty name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the returned Object plays the specified role (i.e. the name of the CIMProperty in the Association Class that refers to the returned Object MUST match the value of this parameter). @param includeQualifiers If the <TT>includeQualifiers</TT> input parameter is true, this specifies that all Qualifiers for each Object (including Qualifiers on the Object and on any returned Properties) MUST be included as <QUALIFIER> elements in the response. If false no <QUALIFIER> elements are present in each returned Object. @param includeClassOrigin If the <TT>includeClassOrigin</TT> input parameter is true, this specifies that the CLASSORIGIN attribute MUST be present on all appropriate elements in each returned Object. If false, no CLASSORIGIN attributes are present in each returned Object. @param propertyList If the <TT>propertyList</TT> input parameter is not NULL, the members of the array define one or more CIMProperty names. Each returned Object MUST NOT include elements for any Properties missing from this list. Note that if LocalOnly is specified as true (or DeepInheritance is specified as false) this acts as an additional filter on the set of Properties returned (for example, if CIMProperty A is included in the PropertyList but LocalOnly is set to true and A is not local to a returned Instance, then it will not be included in that Instance). If the PropertyList input parameter is an empty array this signifies that no Properties are included in each returned Object. If the PropertyList input parameter is NULL this specifies that all Properties (subject to the conditions expressed by the other parameters) are included in each returned Object. If the propertyList contains duplicate elements, the Server MUST ignore the duplicates but otherwise process the request normally. If the PropertyList contains elements which are invalid CIMProperty names for any target Object, the Server MUST ignore such entries but otherwise process the request normally. Clients SHOULD NOT explicitly specify properties in the PropertyList parameter unless they have specified a non-NULL value for the ResultClass parameter. @return If successful, the method returns zero or more CIM Classes or Instances meeting the requested criteria. Since it is possible for CIM Objects from different hosts or namespaces to be associated, each returned Object includes location information. If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses. <UL> <LI>CIM_ERR_ACCESS_DENIED <LI>CIM_ERR_NOT_SUPPORTED <LI>CIM_ERR_INVALID_NAMESPACE <LI>CIM_ERR_INVALID_PARAMETER (including missing,duplicate, unrecognized or otherwise incorrect parameters) <LI>CIM_ERR_FAILED (some other unspecified error occurred)</LI> </UL> */ Array<CIMObject> associators( const CIMNamespaceName& nameSpace, const CIMObjectPath& objectName, const CIMName& assocClass = CIMName(), const CIMName& resultClass = CIMName(), const String& role = String::EMPTY, const String& resultRole = String::EMPTY, Boolean includeQualifiers = false, Boolean includeClassOrigin = false, const CIMPropertyList& propertyList = CIMPropertyList() ); /** The <TT>associatorNames</TT> operation enumerates the names of CIM Objects (Classes or Instances) that are associated to a particular source CIM Object. @param nameSpace The nameSpace parameter is a string that defines the target namespace. See defintion of \URL[Namespace]{DefinitionofTerms.html#NAMESPACE}. @param objectName The <TT>objectName</TT> input parameter defines the source CIM Object whose associated names are to be returned. This is either a Class name or Instance name (model path). @param assocClass The <TT>assocClass</TT> input parameter, if not NULL, MUST be a valid CIM Association Class name. It acts as a filter on the returned set of names by mandating that each returned name identifies an Object that MUST be associated to the source Object via an Instance of this Class or one of its subclasses. @param resultClass The <TT>resultClass</TT> input parameter, if not NULL, MUST be a valid CIM Class name. It acts as a filter on the returned set of names by mandating that each returned name identifies an Object that MUST be either an Instance of this Class (or one of its subclasses) or be this Class (or one of its subclasses). @param role The <TT>role</TT> input parameter, if not NULL, MUST be a valid CIMProperty name. It acts as a filter on the returned set of names by mandating that each returned name identifies an Object that MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the CIMProperty in the Association Class that refers to the source Object MUST match the value of this parameter). @param resultRole The <TT>resultRole</TT> input parameter, if not <TT>NULL</TT>, MUST be a valid CIMProperty name. It acts as a filter on the returned set of names by mandating that each returned name identifies an Object that MUST be associated to the source Object via an Association in which the named returned Object plays the specified role (i.e. the name of the CIMProperty in the Association Class that refers to the returned Object MUST match the value of this parameter). @return If successful, the method returns zero or more full CIM Class paths or Instance paths of Objects meeting the requested criteria. Since it is possible for CIM Objects from different hosts or namespaces to be associated, each returned path is an absolute path that includes host and namespace information. If unsuccessful, one of the following status codes MUST be returned by this method, where the first applicable error in the list (starting with the first element of the list, and working down) is the error returned. Any additional method-specific interpretation of the error in is given in parentheses. <UL> <LI>CIM_ERR_ACCESS_DENIED <LI>CIM_ERR_NOT_SUPPORTED <LI>CIM_ERR_INVALID_NAMESPACE; <LI>CIM_ERR_INVALID_PARAMETER (including missing, duplicate, unrecognized or otherwise incorrect parameters) <LI>CIM_ERR_FAILED (some other unspecified error occurred)</LI> </UL> */ Array<CIMObjectPath> associatorNames( const CIMNamespaceName& nameSpace, const CIMObjectPath& objectName, const CIMName& assocClass = CIMName(), const CIMName& resultClass = CIMName(), const String& role = String::EMPTY, const String& resultRole = String::EMPTY ); /** The <TT>references</TT> operation enumerates the association objects that refer to a particular target CIM Object (Class or Instance). @param The NameSpace parameter is a string that defines the target namespace \Ref{NAMESPACE} @param nameSpace The nameSpace parameter is a string that defines the target namespace. See defintion of \URL[Namespace]{DefinitionofTerms.html#NAMESPACE}. @param objectName The <TT>objectName</TT> input parameter defines the target CIM Object whose referring Objects are to be returned. This is either a Class name or Instance name (model path). @param resultClass The <TT>resultClass</TT> input parameter, if not NULL, MUST be a valid CIM Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be an Instance of this Class (or one of its subclasses), or this Class (or one of its subclasses). @param role The <TT>role</TT> input parameter, if not NULL, MUST be a valid CIMProperty name. It acts as a filter on the returned set of Objects by mandating that each returned Objects MUST refer to the target Object via a CIMProperty whose name matches the value of this parameter. @param includeQualifiers. If the <TT>includeQualifiers</TT> input parameter is true, this specifies that all Qualifiers for each Object (including Qualifiers on the Object and on any returned Properties) MUST be included as <QUALIFIER> elements in the response. If false no <QUALIFIER> elements are present in each returned Object. @param includeClassOrigin If the <TT>includeClassOrigin</TT> input parameter is true, this specifies that the CLASSORIGIN attribute MUST be
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -