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.

CMDBQueryObjectRelationship structure

The CMDBQueryObjectRelationship structure holds the information about the relationship, such as the direction and the number of relationships to traverse in the query.


typedef struct CMDBQueryObjectRelationship
{
   unsigned int direction; 
   CMDBQueryCardinality downstreamCardinality;
} CMDBQueryObjectRelationship;



The CMDBQueryObjectRelationship structure consists of the following elements:

direction

The direction of the relationship map to traverse if the class type in the queryObjectType parameter is relationship.

  • 0 --Relationship of a CI where the given CI is the source (on the left), arrow coming out from the node
  • (CMDB_RELATIONSHIP_DIRECTION_OUT ).
  • 1 --Relationship of a CI where the given CI is the destination (on the right), arrow pointing at the node (CMDB_RELATIONSHIP_DIRECTION_IN ).

downstreamCardinality

A CMDBQueryCardinality object that contains information about the number of relationships to traverse in the query.

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

Comments