Partager via


ConnectorMapReferencesRelationship.SetRelationship Method

Sets Relationship.

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

Syntax

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

Parameters

.NET Framework Security

See Also

Reference

ConnectorMapReferencesRelationship Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace