Condividi tramite


CodeGenerationUtilities.AllowMultiple Method

Gets if the given role allows multiple instances, based on its Multiplicity.

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 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

Return Value

Type: System.Boolean
True if the role allows multiple, false otherwise.

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace