This is a subclass of SMS_CollectionRule. It represents a WQL query that returns resources to include in the collection. This class cannot be directly queried from the Query Builder interface and is not available to Crystal Reports. It is available only through programming.
Table B.8 Collection Rule Query (SMS_CollectionRuleQuery)
Property | Data type | Example | Notes |
---|---|---|---|
LimitToCollectionID | string | "SMS00001" | The CollectionID of the target collection. |
QueryExpression | string | "select * from sms_r_system" | A WQL query that returns resources that will then belong to the collection. |
QueryID | uint32 | 1 | An autogenerated key. This property is only useful when you are deleting a rule. |
RuleName | string | "All Systems" | Indicates the name of the collection rule. |