Share via


RelationshipHasTarget Constructor (DomainRelationship, DomainRole)

Constructor Creates a RelationshipHasTarget link in the same Partition as the given DomainRelationship

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 Sub New ( _
    source As DomainRelationship, _
    target As DomainRole _
)
public RelationshipHasTarget(
    DomainRelationship source,
    DomainRole target
)
public:
RelationshipHasTarget(
    DomainRelationship^ source, 
    DomainRole^ target
)
new : 
        source:DomainRelationship * 
        target:DomainRole -> RelationshipHasTarget
public function RelationshipHasTarget(
    source : DomainRelationship, 
    target : DomainRole
)

Parameters

.NET Framework Security

See Also

Reference

RelationshipHasTarget Class

RelationshipHasTarget Overload

Microsoft.VisualStudio.Modeling.DslDefinition Namespace