Share via


IDatabase.ApplicationRoles Property

Gets a collection of all application roles that are defined in the database.

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

Syntax

'Declaration
ReadOnly Property ApplicationRoles As IMetadataCollection(Of IApplicationRole)
    Get
'Usage
Dim instance As IDatabase
Dim value As IMetadataCollection(Of IApplicationRole)

value = instance.ApplicationRoles
IMetadataCollection<IApplicationRole> ApplicationRoles { get; }
property IMetadataCollection<IApplicationRole^>^ ApplicationRoles {
    IMetadataCollection<IApplicationRole^>^ get ();
}
abstract ApplicationRoles : IMetadataCollection<IApplicationRole>
function get ApplicationRoles () : IMetadataCollection<IApplicationRole>

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<IApplicationRole>
The IMetadataCollection<T> of IApplicationRole that contains all application roles defined in the database.