共用方式為


Server.Roles 屬性

Gets 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.

請參閱

參考

Server 類別

Microsoft.AnalysisServices 命名空間