다음을 통해 공유


RelationshipHasTarget.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 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

RelationshipHasTarget Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace