RelationshipHasTarget.SetTarget Method
Sets Target.
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 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
- newTarget
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.