IMutableDatabase.Roles Property
Gets a collection of all 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 Roles As IMutableMetadataCollection(Of IDatabaseRole)
Get
'Usage
Dim instance As IMutableDatabase
Dim value As IMutableMetadataCollection(Of IDatabaseRole)
value = instance.Roles
IMutableMetadataCollection<IDatabaseRole> Roles { get; }
property IMutableMetadataCollection<IDatabaseRole^>^ Roles {
IMutableMetadataCollection<IDatabaseRole^>^ get ();
}
abstract Roles : IMutableMetadataCollection<IDatabaseRole>
function get Roles () : IMutableMetadataCollection<IDatabaseRole>
Property Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableMetadataCollection<IDatabaseRole>
An IMutableMetadataCollection<T> of IDatabaseRole that contains all roles defined in the database.