ConnectorMapReferencesRelationship.SetRelationship Method
Sets Relationship.
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 SetRelationship ( _
element As ConnectorMap, _
newRelationship As DomainRelationship _
)
public static void SetRelationship(
ConnectorMap element,
DomainRelationship newRelationship
)
public:
static void SetRelationship(
ConnectorMap^ element,
DomainRelationship^ newRelationship
)
static member SetRelationship :
element:ConnectorMap *
newRelationship:DomainRelationship -> unit
public static function SetRelationship(
element : ConnectorMap,
newRelationship : DomainRelationship
)
Parameters
- newRelationship
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship
.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.