Microsoft System Center Configuration Manager 2007 queries are composed of several different elements that make up the query criteria. The complexity of the query depends on which elements are used and how they are applied. Query elements can be divided into two categories: required elements and optional elements.

Required Elements

To create a valid query, you must include the following elements. Use the General tab in the Query Properties dialog box and the General tab in the Query Statement Properties dialog box to add these elements.

  • Query name (a unique name that identifies the query)

  • Object type

  • Attributes classes

  • Attribute

Optional elements

These elements are not required for a valid query, but you can use them to refine query results. Use the Criteria tab and the Joins tab in the Query Statement Properties dialog box to add the following elements:

  • Criterion types

  • Logical operators

  • Group parentheses

  • Attribute class join

See Also