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.

CMDBGraphQueryResult structure

The CMDBGraphQueryResult structure holds the results that the CMDBQueryByPath function returns. The query returns the results in a graph format or a linear format. When requested in a graph format, the query results are grouped and stored in two parts: CIs and relationships.

If the query result contains a CI with two different relationships, the CI list will includes only one entry for the specific CI. For example, if a BMC_Printer instance is connected to two different BMC_ComputerSystem instances, the BMC_Printer instance is listed only once.

The CMDBGraphQueryResult structure is a top-level result structure, which uses CMDBNodeListList to store the list of CIs and CMDBEdgeListList to store the list of relationships to return for the query results.

typedef struct CMDBGraphQueryResult
   CMDBNodeListList nodeListList;
   CMDBEdgeListList edgeListList;
} CMDBGraphQueryResult;

The CMDBGraphQueryResult structure consists of the following elements:


The list of CMDBNodeListList structures that hold the CIs returned in the query.


The list of CMDBEdgeListList structures that hold the relationships returned in the query.

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