Database.Roles 屬性

Gets the collection of roles associated with a Database.

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

語法

'宣告
Public ReadOnly Property Roles As RoleCollection 
    Get
'用途
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

屬性值

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

請參閱

參考

Database 類別

Microsoft.AnalysisServices 命名空間