Database.Roles Property

 

Applies To: SQL Server 2016 Preview

Gets the collection of roles associated with a Database.

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

Syntax

[XmlArrayAttribute]
public RoleCollection Roles { get; }
public:
[XmlArrayAttribute]
property RoleCollection^ Roles {
    RoleCollection^ get();
}
[<XmlArrayAttribute>]
member Roles : RoleCollection with get
<XmlArrayAttribute>
Public ReadOnly Property Roles As RoleCollection

Property Value

Type: Microsoft.AnalysisServices.RoleCollection

A collection of roles.

See Also

Database Class
Microsoft.AnalysisServices Namespace

Return to top