共用方式為


RoleCollection Class

Contains a collection of Role objects. This class cannot be inherited.

命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

語法

'宣告
<DefaultMemberAttribute("Item")> _
<GuidAttribute("E68E368A-5BBB-4b37-922A-03F099FEAA3F")> _
Public NotInheritable Class RoleCollection
    Inherits MajorObjectCollection
[DefaultMemberAttribute("Item")] 
[GuidAttribute("E68E368A-5BBB-4b37-922A-03F099FEAA3F")] 
public sealed class RoleCollection : MajorObjectCollection
[DefaultMemberAttribute(L"Item")] 
[GuidAttribute(L"E68E368A-5BBB-4b37-922A-03F099FEAA3F")] 
public ref class RoleCollection sealed : public MajorObjectCollection
/** @attribute DefaultMemberAttribute("Item") */ 
/** @attribute GuidAttribute("E68E368A-5BBB-4b37-922A-03F099FEAA3F") */ 
public final class RoleCollection extends MajorObjectCollection
DefaultMemberAttribute("Item") 
GuidAttribute("E68E368A-5BBB-4b37-922A-03F099FEAA3F") 
public final class RoleCollection extends MajorObjectCollection

Inheritance Hierarchy

System.Object
   Microsoft.AnalysisServices.ModelComponentCollection
     Microsoft.AnalysisServices.NamedComponentCollection
       Microsoft.AnalysisServices.MajorObjectCollection
        Microsoft.AnalysisServices.RoleCollection

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

RoleCollection Members
Microsoft.AnalysisServices Namespace