This documentation supports the 9.1 to 9.1 Service Pack 3 version and its patches of BMC Atrium Core. The documentation for version 9.1.04 and its patches is available here.

To view the latest version, select the version from the Product version menu.

CMDBNestedQueryStruct structure

The CMDBNestedQueryStruct structure holds the query condition and class details to select from the result list.


typedef struct CMDBNestedQueryStruct
{
   CMDBQueryObjectList *queryObjects;
   CMDBQueryObjectList *queryObjectsOptional;
   CMDBQueryObjectSelector *queryObjectToSelect;
} CMDBNestedQueryStruct;



The CMDBNestedQueryStruct structure consists of the following elements:

queryObjects



A pointer to the CMDBQueryObjectList structure, which is used to formulate the query. The values in this structure provide the initial condition for the recursive query. The query is formulated based on the sequence in which the objects are listed.

queryObjectsOptional



A pointer to the CMDBQueryObjectList structure, which specifies the optional qualifications for the query. For example, when querying for all computer systems in an organization, you might also want to retrieve the printers to which these computer systems are connected. A computer system might not inaccessibly be connected to a printer, in which case returning a printer becomes optional.

queryObjectsToSelect



The CMDBQueryObjectSelectorStruct instance that contains the class name and attribute to select from the result that met the required condition.

Was this page helpful? Yes No Submitting... Thank you

Comments