When you create an SMS query, you are searching the SMS site database for the set of database objects that match one or more attributes of an SMS database object type. An object type is a set of attributes that represents an SMS database object, such as a client, a package , an advertisement, or a user group. All objects of a specific type, such as clients, packages, or users, are labeled and grouped together. Each object type has specific attributes that are most useful to describe those objects. For example, clients have processor types but user groups do not.
SMS object types consist of one or more attribute classes. Attribute classes are container objects that group related attributes within an object type. Each attribute class contains the set of attributes that define the class. For example, the System Resource object type contains an attribute class called Processor with attributes such as CurrentClockSpeed and Manufacturer, and another attribute class called Disk with attributes such as Partitions and SCSIBus. The attributes within the chosen attribute class are used to construct the query.
A query can search against only one SMS object type at a time. By default, the System Resource object type is selected. SMS object types that are available for queries include:
|Advertisement||A single attribute class with attributes representing the data in an SMS advertisement.|
|Package||A single attribute class with attributes representing the data in an SMS package.|
|Program||A single attribute class with attributes representing the data in an SMS program.|
|Site||A single attribute class with attributes representing an SMS site.|
|System Resource||Many attribute classes that together characterize the discovery data and inventory data of a system resource. Discovery data is characterized by a single attribute class called System, and the inventory data is characterized by the other classes of the System Resource object type, for example, Logical Disk.|
|User Resource||A single attribute class representing the discovery data for User objects. This object type represents SMS users in an SMS site hierarchy.|
|User Group Resource||A single attribute class representing the discovery data for User Group objects.|
About Query Elements
Using Queries to Locate Resources Overview