共用方式為


Roles 屬性

Represents the collection of Roles for a database, cube, or mining model.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public ReadOnly Property Roles As RoleCollection
    Get
'用途
Dim instance As Server
Dim value As RoleCollection

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

屬性值

型別:Microsoft.AnalysisServices. . :: . .RoleCollection
A collection of Roles.

備註

Roles indicate specific security permissions that are associated with a given database, cube, or mining model.