Partilhar via


ExternalRule Type 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 ExternalRuleType complex type is the type definition for the ExternalRule element. The ExternalRule element provides the annotation that is used to report rule violations coming from uninterpreted models.

<xs:complexType name="ExternalRuleType">
    <xs:sequence>
        <xs:element
            ref="Annotation"
         />
    </xs:sequence>
    <xs:attribute name="Operation"
        type="RuleOperatorType"
     />
    <xs:attribute name="OperandA"
        type="NonEmptyStringType"
     />
    <xs:attribute name="OperandB"
        type="string"
     />
    <xs:attribute name="Severity"
        type="RuleSeverityType"
     />
    <xs:attribute name="ExternalRuleName"
        type="NCName"
     />
    <xs:attribute name="LogicalName"
        type="LogicalName"
        use="required"
     />
</xs:complexType>

Attributes

Name Type Description

ExternalRuleName

NCName

The ID of the Schematron assert/report in the uninterpreted configuration item that the ExternalRule is referencing. The ExternalRuleName attribute is used to associate violations coming from an uninterpreted configuration item to the annotations provided by the parent ExternalRule element. This attribute is optional because the ID attribute in a Schematron assert/report is optional.

LogicalName

LogicalName

A unique name that is used to identify the file part in the document.

OperandA

NonEmptyStringType

The first operand that is used by the constraint expression.

OperandB

String

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

Operation

RuleOperatorType

The operator that is used by the constraint expression.

Severity

RuleSeverityType

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

See Also

Concepts

Authoring Desired Configuration Management Configuration Baselines and Configuration Items
ExternalRule Element