다음을 통해 공유


RelationshipHasTarget.SetTarget Method

Sets Target.

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 SetTarget ( _
    element As DomainRelationship, _
    newTarget As DomainRole _
)
public static void SetTarget(
    DomainRelationship element,
    DomainRole newTarget
)
public:
static void SetTarget(
    DomainRelationship^ element, 
    DomainRole^ newTarget
)
static member SetTarget : 
        element:DomainRelationship * 
        newTarget:DomainRole -> unit
public static function SetTarget(
    element : DomainRelationship, 
    newTarget : DomainRole
)

Parameters

.NET Framework Security

See Also

Reference

RelationshipHasTarget Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace