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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaração
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
- 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.