Database.Roles Property

Gets the collection of roles associated with a Database.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public ReadOnly Property Roles As RoleCollection 
    Get
'Usage
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

Property Value

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

See Also

Reference

Database Class

Microsoft.AnalysisServices Namespace