다음을 통해 공유


RelationshipHasSource.SetSource Method

Sets Source.

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

Syntax

'Declaration
Public Shared Sub SetSource ( _
    element As DomainRelationship, _
    newSource As DomainRole _
)
public static void SetSource(
    DomainRelationship element,
    DomainRole newSource
)
public:
static void SetSource(
    DomainRelationship^ element, 
    DomainRole^ newSource
)
static member SetSource : 
        element:DomainRelationship * 
        newSource:DomainRole -> unit
public static function SetSource(
    element : DomainRelationship, 
    newSource : DomainRole
)

Parameters

.NET Framework Security

See Also

Reference

RelationshipHasSource Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace