CMDBQueryByPath function
The CMDBQueryByPath
function retrieves a list of instances for the specified qualifications. To improve the performance of the queries, add indexes on attributes that are frequently used in the qualification.
Synopsis
#include "ar.h"
#include "arextern.h"
#include "cmdb.h"
int CMDBQueryByPath(
ARControlStruct *control,
CMDBQueryStruct *query,
CMDBQueryResult *result,
ARStatusList *status)
Input arguments
Input argument |
Description |
---|---|
|
The control record for the operation, which contains information about the user requesting the operation and the server on which the operation is to be performed. |
|
A query that determines the list of instances to return. The qualification can include one or more subqueries and any combination of conditional, relational, and arithmetic operations. |
Return values
Return value |
Description |
---|---|
|
The list of instances returned for the specified qualifications. |
|
A list of zero or more notes, warnings, or errors generated from a call of this function. |
Comments