ReferenceDefinition Complex Type Complex Type

Defines the elements that contain the definitions for the source and dependent members in a reference relationship between the members.

The reference relationship is used to control construction order during deployment and flow parameters between systems during installation and update. Because reference relationships indicate a strong dependency, you cannot allow a reference relationship to cross a system boundary. This means that resources within one system cannot have dependencies on resources in another system. This would make the system no longer an independent unit of deployment. Where dependencies exist between systems, use communication relationships. Communication relationships can change over time without requiring reinstallation of the system.

Note   Reference relationships cannot be used in the Visual Studio 2005 design surface, but they are allowed in the SDM schema.

<xs:complexType name="ReferenceDefinition">
    <xs:complexContent>
        <xs:extension
            base="RelationshipDefinition"
        >
            <xs:attribute name="DependentDefinition"
                type="QualifiedName"
                use="required"
             />
            <xs:attribute name="SourceDefinition"
                type="QualifiedName"
                use="required"
             />
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

Attributes

Name Type Description
DependentDefinition QualifiedName

Definition of the instance that depends on the source instance.

SourceDefinition QualifiedName

Definition of the source instance. This instance is not required to be aware of the dependency.

See Also

SystemDefinitionModel Schema Complex Types

Send comments about this topic to Microsoft

Build date: 9/5/2007