Share via


ReferenceDefinition complex type [SDM]

 
Platform SDK: System Definition Model Overview

ReferenceDefinition Complex Type

Note: This documentation is preliminary and is subject to change.

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"
             />
DependentDefinition
Definition of the instance that depends on the source instance.
<xs:attribute name="SourceDefinition" type="QualifiedName" use="required" />
SourceDefinition
Definition of the source instance. This instance is not required to be aware of the dependency.
</xs:extension> </xs:complexContent> </xs:complexType>
ReferenceDefinition
Defines strong dependencies between instances that are in addition to the hosting relationship dependency.

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

  
  Last updated: June 2005  |  What did you think of this topic?  |  Order a Platform SDK CD
  © Microsoft Corporation. All rights reserved. Terms of use.