共用方式為


MajorObjectCollection 類別

Contains a collection of MajorObject objects.

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

語法

'宣告
<GuidAttribute("28AAE99B-1831-4017-A5CA-8F122C957C29")> _
Public MustInherit Class MajorObjectCollection _
    Inherits NamedComponentCollection
'用途
Dim instance As MajorObjectCollection
[GuidAttribute("28AAE99B-1831-4017-A5CA-8F122C957C29")]
public abstract class MajorObjectCollection : NamedComponentCollection
[GuidAttribute(L"28AAE99B-1831-4017-A5CA-8F122C957C29")]
public ref class MajorObjectCollection abstract : public NamedComponentCollection
[<AbstractClassAttribute>]
[<GuidAttribute("28AAE99B-1831-4017-A5CA-8F122C957C29")>]
type MajorObjectCollection =  
    class
        inherit NamedComponentCollection
    end
public abstract class MajorObjectCollection extends NamedComponentCollection

備註

The MajorObjectCollection abstract class is inherited by other collection classes in Analysis Management Objects (AMO) that contain major objects (in other words, any object that implements IMajorObject).

繼承階層

System. . :: . .Object
  Microsoft.AnalysisServices. . :: . .ModelComponentCollection
    Microsoft.AnalysisServices. . :: . .NamedComponentCollection
      Microsoft.AnalysisServices..::..MajorObjectCollection
        Microsoft.AnalysisServices. . :: . .AggregationDesignCollection
        Microsoft.AnalysisServices. . :: . .AssemblyCollection
        Microsoft.AnalysisServices. . :: . .CubeCollection
        Microsoft.AnalysisServices. . :: . .CubePermissionCollection
        Microsoft.AnalysisServices. . :: . .DatabaseCollection
        Microsoft.AnalysisServices. . :: . .DatabasePermissionCollection
        Microsoft.AnalysisServices. . :: . .DataSourceCollection
        Microsoft.AnalysisServices. . :: . .DataSourcePermissionCollection
        Microsoft.AnalysisServices. . :: . .DataSourceViewCollection
        Microsoft.AnalysisServices. . :: . .DimensionCollection
        Microsoft.AnalysisServices. . :: . .DimensionPermissionCollection
        Microsoft.AnalysisServices. . :: . .MdxScriptCollection
        Microsoft.AnalysisServices. . :: . .MeasureGroupCollection
        Microsoft.AnalysisServices. . :: . .MiningModelCollection
        Microsoft.AnalysisServices. . :: . .MiningModelPermissionCollection
        Microsoft.AnalysisServices. . :: . .MiningStructureCollection
        Microsoft.AnalysisServices. . :: . .MiningStructurePermissionCollection
        Microsoft.AnalysisServices. . :: . .PartitionCollection
        Microsoft.AnalysisServices. . :: . .PerspectiveCollection
        Microsoft.AnalysisServices. . :: . .RoleCollection
        Microsoft.AnalysisServices. . :: . .TraceCollection

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。