RelationshipHasSource.GetLinkToSource Method
Get the RelationshipHasSource link to a 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 Shared Function GetLinkToSource ( _
relationshipInstance As DomainRelationship _
) As RelationshipHasSource
public static RelationshipHasSource GetLinkToSource(
DomainRelationship relationshipInstance
)
public:
static RelationshipHasSource^ GetLinkToSource(
DomainRelationship^ relationshipInstance
)
static member GetLinkToSource :
relationshipInstance:DomainRelationship -> RelationshipHasSource
public static function GetLinkToSource(
relationshipInstance : DomainRelationship
) : RelationshipHasSource
Parameters
- relationshipInstance
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasSource
.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.