MajorObjectCollection Class
Contains a collection of MajorObject objects.
Inheritance Hierarchy
System.Object
Microsoft.AnalysisServices.ModelComponentCollection
Microsoft.AnalysisServices.NamedComponentCollection
Microsoft.AnalysisServices.MajorObjectCollection
More...
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
<GuidAttribute("28AAE99B-1831-4017-A5CA-8F122C957C29")> _
Public MustInherit Class MajorObjectCollection _
Inherits NamedComponentCollection
'Usage
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 type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MajorObjectCollection | Initializes a new instance of the MajorObjectCollection class for the specified parent object. |
Top
Properties
Name | Description | |
---|---|---|
Count | Gets the number of ModelComponent objects in the ModelComponentCollection. (Inherited from ModelComponentCollection.) | |
DemandLoadingService | Infrastructure. (Inherited from ModelComponentCollection.) | |
IsFixedSize | Gets a value indicating whether the ModelComponentCollection has a fixed size. (Inherited from ModelComponentCollection.) | |
IsReadOnly | Gets a value indicating whether the ModelComponentCollection is read-only. (Inherited from ModelComponentCollection.) | |
IsSynchronized | Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (Inherited from ModelComponentCollection.) | |
Item | Gets the IModelComponent at the specified index. (Inherited from ModelComponentCollection.) | |
ItemsType | Gets the Type of objects that can be contained by the ModelComponentCollection. (Inherited from ModelComponentCollection.) | |
Parent | Gets the IModelComponent that contains the ModelComponentCollection. (Inherited from ModelComponentCollection.) | |
Preloadable | Infrastructure. (Inherited from ModelComponentCollection.) | |
SyncRoot | Gets an object that can be used to synchronize access to the ModelComponentCollection. (Inherited from ModelComponentCollection.) |
Top
Methods
Top
Events
Name | Description | |
---|---|---|
CollectionChanged | Infrastructure. (Inherited from ModelComponentCollection.) | |
CollectionChanging | Infrastructure. (Inherited from ModelComponentCollection.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IList.Add | (Inherited from ModelComponentCollection.) | |
IList.Clear | (Inherited from ModelComponentCollection.) | |
IList.Contains | (Inherited from ModelComponentCollection.) | |
IList.IndexOf | (Inherited from ModelComponentCollection.) | |
IList.Insert | (Inherited from ModelComponentCollection.) | |
IList.Item | (Inherited from ModelComponentCollection.) | |
IList.Remove | (Inherited from ModelComponentCollection.) | |
IList.RemoveAt | (Inherited from ModelComponentCollection.) | |
IModelComponentCollection.Contains | (Inherited from ModelComponentCollection.) | |
IModelComponentCollection.Remove(IModelComponent) | (Inherited from ModelComponentCollection.) | |
IModelComponentCollection.Remove(IModelComponent, Boolean) | (Inherited from ModelComponentCollection.) | |
IOnDemandLoadableCollection.BlockOnDemandLoad | (Inherited from ModelComponentCollection.) | |
IOnDemandLoadableCollection.Loaded | (Inherited from ModelComponentCollection.) |
Top
Remarks
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).
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Inheritance Hierarchy
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