Returns the base role of the given role if it has the same name as the given role
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 GetSameNameBaseRole ( _
    role As DomainRole _
) As DomainRole
public static DomainRole GetSameNameBaseRole(
    DomainRole role
)
public:
static DomainRole^ GetSameNameBaseRole(
    DomainRole^ role
)
static member GetSameNameBaseRole : 
        role:DomainRole -> DomainRole
public static function GetSameNameBaseRole(
    role : DomainRole
) : DomainRole
Parameters
Return Value
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.