Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In relationship derivation, a relationship can use the same target role-player as its parent relationship, or it can define a new one (which derives from the parent relationship's target role-player). This method tells whether the given DomainRelationship defines a new target role- player.
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 Function DefinesNewTargetRole ( _
    domainRelationship As DomainRelationship _
) As Boolean
public static bool DefinesNewTargetRole(
    DomainRelationship domainRelationship
)
public:
static bool DefinesNewTargetRole(
    DomainRelationship^ domainRelationship
)
static member DefinesNewTargetRole : 
        domainRelationship:DomainRelationship -> bool
public static function DefinesNewTargetRole(
    domainRelationship : DomainRelationship
) : boolean
Parameters
- domainRelationship 
 Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship- DomainRelationship to check. 
Return Value
Type: System.Boolean
True if the given DomainRelationship defines a new target role-player, false otherwise.
.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.