Partager via


Roles propriété

Gets the collection of roles associated with a Database.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Roles As RoleCollection
    Get
'Utilisation
Dim instance As Database
Dim value As RoleCollection

value = instance.Roles
public RoleCollection Roles { get; }
public:
property RoleCollection^ Roles {
    RoleCollection^ get ();
}
member Roles : RoleCollection
function get Roles () : RoleCollection

Valeur de la propriété

Type : Microsoft.AnalysisServices. . :: . .RoleCollection
A collection of roles.