Share via


RelationshipHasSource.SetRelationship Method

Sets Relationship.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
Public Shared Sub SetRelationship ( _
    element As DomainRole, _
    newRelationship As DomainRelationship _
)
public static void SetRelationship(
    DomainRole element,
    DomainRelationship newRelationship
)
public:
static void SetRelationship(
    DomainRole^ element, 
    DomainRelationship^ newRelationship
)
static member SetRelationship : 
        element:DomainRole * 
        newRelationship:DomainRelationship -> unit
public static function SetRelationship(
    element : DomainRole, 
    newRelationship : DomainRelationship
)

Parameters

.NET Framework Security

See Also

Reference

RelationshipHasSource Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace