Partilhar via


RuleType 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 RuleType complex type, in Configuration Manager, defines a rule to be applied to a discovered setting value or part property value.

Important

Dates must conform to the DateTime format 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="RuleType">
    <xs:complexContent>
        <xs:extension
            base="RuleTypeBase"
        >
            <xs:attribute name="LogicalName"
                type="LogicalName"
                use="required"
             />
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

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.

LogicalName

LogicalName Simple Type

The unique Id of the Rule within the configuration item.

See Also

Concepts

Authoring Desired Configuration Management Configuration Baselines and Configuration Items