Partager via


RelationshipHasTarget.SetTarget Method

Sets Target.

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

Syntax

'Déclaration
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