Export (0) Print
Expand All

MajorObjectCollection Class

Contains a collection of MajorObject objects.

Object
  Microsoft.AnalysisServices.ModelComponentCollection
    Microsoft.AnalysisServices.NamedComponentCollection
      Microsoft.AnalysisServices.MajorObjectCollection
        More...

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

[GuidAttribute("28AAE99B-1831-4017-A5CA-8F122C957C29")]
public abstract class MajorObjectCollection : NamedComponentCollection

The MajorObjectCollection type exposes the following members.

  NameDescription
Protected methodMajorObjectCollectionInitializes a new instance of the MajorObjectCollection class for the specified parent object.
Top

  NameDescription
Public propertyCountGets the number of ModelComponent objects in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected propertyDemandLoadingServiceInfrastructure. Gets the demand loading service for the collection. (Inherited from ModelComponentCollection.)
Public propertyIsFixedSizeGets a value indicating whether the ModelComponentCollection has a fixed size. (Inherited from ModelComponentCollection.)
Public propertyIsReadOnlyGets a value indicating whether the ModelComponentCollection is read-only. (Inherited from ModelComponentCollection.)
Public propertyIsSynchronizedGets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (Inherited from ModelComponentCollection.)
Protected propertyItemGets the IModelComponent at the specified index. (Inherited from ModelComponentCollection.)
Protected propertyItemsTypeGets the Type of objects that can be contained by the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public propertyParentGets the IModelComponent that contains the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected propertyPreloadableInfrastructure. Gets a value indicating whether the collection can be preloaded. (Inherited from ModelComponentCollection.)
Public propertySyncRootGets an object that can be used to synchronize access to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Top

  NameDescription
Protected methodAdd(ModelComponent)Adds a ModelComponent to the end of the MajorObjectCollection. (Overrides NamedComponentCollection.Add(ModelComponent).)
Protected methodAdd(String, IModelComponent)Infrastructure. Adds a IModelComponent object to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected methodAdd(ModelComponent, Boolean)Infrastructure. Adds a ModelComponent object to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected methodAdd(String, IModelComponent, Boolean)Infrastructure. Adds a IModelComponent object to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected methodAddNew(String, Type)Infrastructure. Adds a new IModelComponent to the collection. (Inherited from ModelComponentCollection.)
Protected methodAddNew(String, String, Type)Infrastructure. Adds a new IModelComponent to the collection. (Inherited from ModelComponentCollection.)
Public methodCanAddInfrastructure. Indicates whether the collection can add a ModelComponent. (Inherited from NamedComponentCollection.)
Protected methodChangeKeyInfrastructure. Changes the specified keys to the collection. (Inherited from ModelComponentCollection.)
Public methodClearRemoves all elements from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodContains(String)Determines whether an item with the specific key is in the NamedComponentCollection. (Inherited from NamedComponentCollection.)
Protected methodContains(IModelComponent)Determines whether the specified item is in the collection. (Inherited from ModelComponentCollection.)
Public methodContainsNameIndicates whether the component contains its name. (Inherited from NamedComponentCollection.)
Public methodCopyToCopies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (Inherited from ModelComponentCollection.)
Protected methodEnsureLoadedInfrastructure. Ensures the collection is loaded. (Inherited from ModelComponentCollection.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumeratorReturns an enumerator that can iterate through the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodGetHashCode (Inherited from Object.)
Protected methodGetItemGets a reference to the specified component. (Inherited from ModelComponentCollection.)
Public methodGetNewID()Gets a new unique ID for the component. (Inherited from NamedComponentCollection.)
Public methodGetNewID(String)Gets the value for the new unique ID. (Inherited from NamedComponentCollection.)
Public methodGetNewName()Gets a unique new name for the component. (Inherited from NamedComponentCollection.)
Public methodGetNewName(String)Gets a unique new name for the component with the specified name prefix. (Inherited from NamedComponentCollection.)
Public methodGetType (Inherited from Object.)
Public methodIndexOf(String)Reports the index of the first occurrence of the component. (Inherited from NamedComponentCollection.)
Protected methodIndexOf(IModelComponent)Searches for the specified item and returns its zero-based index within the collection. (Inherited from ModelComponentCollection.)
Public methodIndexOfNameGets the index of the NamedComponent, identified by name, in the collection. (Inherited from NamedComponentCollection.)
Protected methodInsert(Int32, ModelComponent)Inserts a ModelComponent in the MajorObjectCollection at the specified index. (Overrides NamedComponentCollection.Insert(Int32, ModelComponent).)
Protected methodInsert(IModelComponent, String, Int32)Infrastructure. Inserts an IModelComponent in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected methodInsert(IModelComponent, String, Int32, Boolean)Infrastructure. Inserts an IModelComponent in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodIsValidID(String)Determines whether the named component collection identifier is valid. (Inherited from NamedComponentCollection.)
Public methodIsValidID(String, String)Determines whether the named component collection identifier is valid. (Inherited from NamedComponentCollection.)
Protected methodIsValidID(String, Type, String)Infrastructure. Determines whether the named component collection identifier is valid. (Inherited from NamedComponentCollection.)
Public methodIsValidName(String)Determines whether the named component collection name is valid. (Inherited from NamedComponentCollection.)
Public methodIsValidName(String, String)Determines whether the named component collection name is valid. (Inherited from NamedComponentCollection.)
Protected methodIsValidName(String, Type, String)Infrastructure. Determines whether the named component collection name is valid. (Inherited from NamedComponentCollection.)
Protected methodIsValidName(String, Type, ModelType, Int32, String) (Inherited from NamedComponentCollection.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodRemoveRemoves the specified IModelComponent from the collection. (Inherited from ModelComponentCollection.)
Public methodRemoveAt(Int32)Removes the IModelComponent at the specified index from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodRemoveAt(Int32, Boolean)Infrastructure. Removes the IModelComponent at the specified index from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public eventCollectionChangedInfrastructure. Occurs when the collection changes. (Inherited from ModelComponentCollection.)
Public eventCollectionChangingInfrastructure. Occurs when the collection is changing. (Inherited from ModelComponentCollection.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIListAddAdds an item to the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIListClearRemoves all items from the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIListContainsIndicates whether the collection contains a specific value. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIListIndexOfDetermines the index of a specific item in the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIListInsertInserts an item to the collection at the specified index. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate propertyIListItemGets or sets the element at the specified index. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIListRemoveRemoves the first occurrence of a specified object from the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIListRemoveAtRemoves the item at the specified index. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIModelComponentCollection.ContainsIndicates whether the collection contains a specific value. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIModelComponentCollection.Remove(IModelComponent)Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIModelComponentCollection.Remove(IModelComponent, Boolean)Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIOnDemandLoadableCollection.BlockOnDemandLoadSpecifies the blocked demand load. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate propertyIOnDemandLoadableCollection.LoadedGets or sets a value that indicates whether the collection is loaded. (Inherited from ModelComponentCollection.)
Top

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

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

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

Community Additions

ADD
Show:
© 2014 Microsoft