Share via


ConstraintGroup Complex Type Complex Type

Defines a group of different constraints to be evaluated together. The group will return false unless at least one of the constraints in the group evaluates to true.

<xs:complexType name="ConstraintGroup">
    <xs:complexContent>
        <xs:extension
            base="StructuralConstraint"
        >
            <xs:choice
                minOccurs="0"
                maxOccurs="unbounded"
            >
                <xs:element name="Constraint"
                    type="ConstraintMember"
                 />
                <xs:element name="RelationshipConstraint"
                    type="RelationshipConstraint"
                 />
                <xs:element name="ObjectConstraint"
                    type="ObjectConstraint"
                 />
            </xs:choice>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

Child Elements

Element Type Description
Constraint ConstraintMember

A constraint member nested within the group.

ObjectConstraint ObjectConstraint

A object constraint nested within the group.

RelationshipConstraint RelationshipConstraint

A relationship constraint nested within the group.

See Also

SystemDefinitionModel Schema Complex Types

Send comments about this topic to Microsoft

Build date: 9/5/2007