Export (0) Print
Expand All

CubeHierarchyCollection Class

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

Object
  Microsoft.AnalysisServices.ModelComponentCollection
    Microsoft.AnalysisServices.CubeHierarchyCollection

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

[GuidAttribute("76B25468-4425-4020-8BD7-2C20C4BE089F")]
[DefaultMemberAttribute("Item")]
public sealed class CubeHierarchyCollection : ModelComponentCollection

The CubeHierarchyCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of ModelComponent objects in the ModelComponentCollection. (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.)
Public propertyItem[Int32]Gets the CubeHierarchy at the specified index from the collection.
Public propertyItem[String]Gets the CubeHierarchy, with the specified identifier, from the collection.
Public propertyParentGets the IModelComponent that contains the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public propertySyncRootGets an object that can be used to synchronize access to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Top

  NameDescription
Public methodAdd(String)Creates and adds a CubeHierarchy, with the specified identifier, to the end of the collection.
Public methodAdd(CubeHierarchy)Adds a CubeHierarchy to the end of the collection.
Protected methodAdd(ModelComponent)Infrastructure. Adds a ModelComponent object to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodAdd(String, Boolean)Creates and adds a CubeHierarchy, with the specified identifier, to the end of the collection.
Protected methodAdd(ModelComponent, Boolean)Infrastructure. Adds a ModelComponent object to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodCanAddInfrastructure. Indicates whether the collection can add a ModelComponent. (Inherited from ModelComponentCollection.)
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)Indicates whether the collection contains a CubeHierarchy, with the specified identifier.
Public methodContains(CubeHierarchy)Indicates whether the collection contains a specified CubeHierarchy.
Public methodCopyToCopies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (Inherited from ModelComponentCollection.)
Public methodEquals (Inherited from Object.)
Public methodFindGets the CubeHierarchy, with the specified identifier, from the collection.
Public methodGetEnumeratorReturns an enumerator that can iterate through the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIndexOf(String)Gets the index of a CubeHierarchy, with the specified identifier.
Public methodIndexOf(CubeHierarchy)Gets the index of a specified CubeHierarchy.
Public methodInsert(Int32, CubeHierarchy)Inserts a CubeHierarchy into the collection at the specified index.
Public methodInsert(Int32, String)Creates and inserts a CubeHierarchy, with the specified identifier, into the collection at the specified index.
Protected methodInsert(Int32, ModelComponent)Infrastructure. Inserts an ModelComponent in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodMove(Int32, Int32)Moves a CubeHierarchy at the current specified index to a new specified index in the collection.
Public methodMove(String, Int32)Moves a CubeHierarchy, with the specified identifier, to the specified index in the collection.
Public methodMove(CubeHierarchy, Int32)Moves a CubeHierarchy to a new index in the collection.
Public methodRemove(String)Removes the CubeHierarchy, with the specified identifier, from the collection.
Public methodRemove(CubeHierarchy)Removes the specified CubeHierarchy from the collection.
Protected methodRemove(IModelComponent)Removes the specified IModelComponent from the collection. (Inherited from ModelComponentCollection.)
Public methodRemove(String, Boolean)Removes a CubeHierarchy from this collection.
Public methodRemove(CubeHierarchy, Boolean)Removes the specified CubeHierarchy from this collection.
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

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

Community Additions

ADD
Show:
© 2014 Microsoft