Share via


RelationshipHasRoles.SetRelationship(DomainRole, DomainRelationship) Method

Definition

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

Applies to