共用方式為


RelationshipHasSource Constructor (DomainRelationship, DomainRole)

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

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

Syntax

'宣告
Public Sub New ( _
    source As DomainRelationship, _
    target As DomainRole _
)
public RelationshipHasSource(
    DomainRelationship source,
    DomainRole target
)
public:
RelationshipHasSource(
    DomainRelationship^ source, 
    DomainRole^ target
)
new : 
        source:DomainRelationship * 
        target:DomainRole -> RelationshipHasSource
public function RelationshipHasSource(
    source : DomainRelationship, 
    target : DomainRole
)

Parameters

.NET Framework Security

See Also

Reference

RelationshipHasSource Class

RelationshipHasSource Overload

Microsoft.VisualStudio.Modeling.DslDefinition Namespace