Share via


ApplicationRoleCollection Constructor (Int32, CollationInfo)

Initializes a new instance of the ApplicationRoleCollection class that uses the specified capacity and CollationInfo object.

Namespace:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Sub New ( _
    initialCapacity As Integer, _
    collationInfo As CollationInfo _
)
'Usage
Dim initialCapacity As Integer 
Dim collationInfo As CollationInfo 

Dim instance As New ApplicationRoleCollection(initialCapacity, _
    collationInfo)
public ApplicationRoleCollection(
    int initialCapacity,
    CollationInfo collationInfo
)
public:
ApplicationRoleCollection(
    int initialCapacity, 
    CollationInfo^ collationInfo
)
new : 
        initialCapacity:int * 
        collationInfo:CollationInfo -> ApplicationRoleCollection
public function ApplicationRoleCollection(
    initialCapacity : int, 
    collationInfo : CollationInfo
)

Parameters

  • initialCapacity
    Type: System.Int32
    The number of elements that the new collection can initially store.

See Also

Reference

ApplicationRoleCollection Class

ApplicationRoleCollection Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace