CodeGenerationUtilities.GetBaseRole Method

Gets the base role of the given role if one exists. If not, it returns null.

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

Syntax

'Declaration
Public Shared Function GetBaseRole ( _
    role As DomainRole _
) As DomainRole
public static DomainRole GetBaseRole(
    DomainRole role
)
public:
static DomainRole^ GetBaseRole(
    DomainRole^ role
)
static member GetBaseRole : 
        role:DomainRole -> DomainRole
public static function GetBaseRole(
    role : DomainRole
) : DomainRole

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace