Compartilhar via


RelationshipHasSource.SetSource Method

Sets Source.

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

Syntax

'Declaração
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