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.
Gets if the given role allows multiple instances, based on its Multiplicity.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaration
Public Shared Function AllowMultiple ( _
role As DomainRole _
) As Boolean
public static bool AllowMultiple(
DomainRole role
)
public:
static bool AllowMultiple(
DomainRole^ role
)
static member AllowMultiple :
role:DomainRole -> bool
public static function AllowMultiple(
role : DomainRole
) : boolean
Parameters
- role
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole
DomainRole to check.
Return Value
Type: System.Boolean
True if the role allows multiple, 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.