Propriedade do RDL Roles
Gets a collection of all roles that are defined in the database.
Namespace: Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly: Microsoft.SqlServer.Management.SqlParser (em Microsoft.SqlServer.Management.SqlParser.dll)
Sintaxe
'Declaração
ReadOnly Property Roles As IMetadataCollection(Of IDatabaseRole)
Get
'Uso
Dim instance As IDatabase
Dim value As IMetadataCollection(Of IDatabaseRole)
value = instance.Roles
IMetadataCollection<IDatabaseRole> Roles { get; }
property IMetadataCollection<IDatabaseRole^>^ Roles {
IMetadataCollection<IDatabaseRole^>^ get ();
}
abstract Roles : IMetadataCollection<IDatabaseRole>
function get Roles () : IMetadataCollection<IDatabaseRole>
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.SqlParser.Metadata. . :: . .IMetadataCollection< (Of < ( <'IDatabaseRole> ) > ) >
The IMetadataCollection<(Of <(<'T>)>)> of IDatabaseRole that contains all roles defined in the database.
Consulte também