CMDBQueryStruct structure
The CMDBQueryStruct
structure holds a list of query objects with qualification for the instances to retrieve. This is a top-level structure, which is used in the CMDBQueryByPath
function.
typedef struct CMDBQueryStruct
{
ARNameType datasetId;
unsigned int datasetMask;
CMDBQueryObjectList *queryObjects;
CMDBQueryObjectOptionalList *queryObjectsOptional;
CMDBQueryObjectSelectorList *queryObjectsToSelect;
unsigned int firstRetrieve;
unsigned int maxRetrieve;
CMDB_QUERY_STRUCT_MASK_TYPE queryMask;
CMDBQuerySortList querySortList;
ARBoolean numMatches;
} CMDBQueryStruct;
The CMDBQueryStruct
structure consists of the following elements:
datasetId |
The ID of the dataset from which to retrieve the instances. |
datasetMask |
An integer value that specifies the dataset type for the query.
|
queryObjects |
A pointer to |
queryObjectsOptional |
A pointer to the |
queryObjectsToSelect |
A pointer to |
firstRetrieve |
The first object to retrieve from the list of objects returned. |
maxRetrieve |
The maximum number of objects to retrieve from the list of objects returned. |
queryMask |
An integer value that specifies the properties for returning the query results.
|
querySortList |
The list of attributes and the sort orders, based on which the query results are returned. |
numMatches |
A Boolean value indicating whether to return the total number of CI and relationship instances that the call matched in the query.
|
Comments