Share via


IMutableDatabase.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 IMutableMetadataCollection(Of IApplicationRole)
    Get
'Usage
Dim instance As IMutableDatabase
Dim value As IMutableMetadataCollection(Of IApplicationRole)

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

Property Value

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