다음을 통해 공유


RuleTypeBase Complex Type

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The RuleTypeBase complex type, in Configuration Manager, defines a rule.

Important

Important Dates must conform to the dateTime format that is defined at: W3C XML Schema Recommendation: dateTime.

When creating rules, you should be aware that Device Configuration Management will perform all date comparisons in Universal Coordinated Time (UTC).

<xs:complexType name="RuleTypeBase">
    <xs:sequence>
        <xs:element
            ref="Annotation"
         />
        <xs:any
            processContents="skip"
            minOccurs="0"
            maxOccurs="unbounded"
            namespace="##other"
         />
    </xs:sequence>
    <xs:attribute name="Operation"
        type="RuleOperatorType"
        use="required"
     />
    <xs:attribute name="OperandA"
        type="string"
        use="required"
     />
    <xs:attribute name="OperandB"
        type="string"
        use="required"
     />
    <xs:attribute name="Severity"
        type="RuleSeverityType"
        use="required"
     />
</xs:complexType>

Child Elements

Element Type Description

Annotation

Annotation Element

The Annotation type is used for attaching localizable display name and display description text to various items you want to display nicely in a user interface (For example, Configuration Items, Parts, Settings and Rules). See the LocalizableString complex type for additional details.

Attributes

Name Type Description

Operation

RuleOperatorType Simple Type

The operator that is used by the constraint expression.

OperandA

NonEmptyStringType Simple Type

The first operand that is used by the constraint expression.

OperandB

xs:string

The second operand that is used by the constraint expression. Valid only for the “Between” operator.

Severity

RuleSeverityType Simple Type

The severity condition that is associated with a failure of this constraint.

See Also

Concepts

Authoring Desired Configuration Management Configuration Baselines and Configuration Items