RelationshipHasTarget.SetRelationship(DomainRole, DomainRelationship) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets Relationship.
public:
static void SetRelationship(Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^ element, Microsoft::VisualStudio::Modeling::DslDefinition::DomainRelationship ^ newRelationship);
[System.Diagnostics.DebuggerStepThrough]
public static void SetRelationship (Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole element, Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship newRelationship);
[<System.Diagnostics.DebuggerStepThrough>]
static member SetRelationship : Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole * Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship -> unit
Public Shared Sub SetRelationship (element As DomainRole, newRelationship As DomainRelationship)
Parameters
- element
- DomainRole
- newRelationship
- DomainRelationship
- Attributes