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
- newSource
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole
.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.