Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

CubeCollection Class

 

Applies To: SQL Server 2016 Preview

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

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


[GuidAttribute("82327F54-5B82-44ee-A417-FE0CB6C54324")]
[DefaultMemberAttribute("Item")]
public sealed class CubeCollection : MajorObjectCollection

NameDescription
System_CAPS_pubpropertyCount

Gets the number of ModelComponent objects in the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertyIsFixedSize

Gets a value indicating whether the ModelComponentCollection has a fixed size.(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertyIsReadOnly

Gets a value indicating whether the ModelComponentCollection is read-only.(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertyIsSynchronized

Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe).(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertyItem[Int32]

Gets the Cube at the specified index from the collection.

System_CAPS_pubpropertyItem[String]

Gets the Cube, with the specified identifier, from the collection.

System_CAPS_pubpropertyParent

Gets the IModelComponent that contains the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertySyncRoot

Gets an object that can be used to synchronize access to the ModelComponentCollection.(Inherited from ModelComponentCollection.)

NameDescription
System_CAPS_pubmethodAdd()

Creates and adds a Cube to the end of the collection.

System_CAPS_pubmethodAdd(Cube)

Adds a Cube to the end of the collection.

System_CAPS_protmethodAdd(ModelComponent)

Adds a ModelComponent to the end of the MajorObjectCollection.(Inherited from MajorObjectCollection.)

System_CAPS_protmethodAdd(ModelComponent, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds a ModelComponent object to the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodAdd(String)

Creates and adds a Cube, with the specified identifier, to the end of the collection.

System_CAPS_pubmethodAdd(String, String)

Creates and adds a Cube, with the specified name and identifier, to the end of the collection.

System_CAPS_pubmethodAddNew(String)

Creates and adds a Cube, with the specified key, to the end of the collection.

System_CAPS_pubmethodAddNew(String, String)

Creates and adds a Cube, with the specified name and key, to the end of the collection.

System_CAPS_pubmethodCanAdd(ModelComponent, String)

Indicates whether the collection can add a ModelComponent.(Overrides NamedComponentCollection.CanAdd(ModelComponent, String).)

System_CAPS_protmethodChangeKey(String, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Changes the specified keys to the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodClear()

Removes all elements from the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodContains(Cube)

Indicates whether the collection contains a specified Cube.

System_CAPS_pubmethodContains(String)

Indicates whether the collection contains a Cube, with the specified identifier.

System_CAPS_pubmethodContainsName(String)

Indicates whether the component contains its name.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodCopyTo(Array, Int32)

Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodFind(String)

Gets the Cube, with the specified identifier, from the collection.

System_CAPS_pubmethodFindByName(String)

Gets the Cube, with the specified name, from the collection.

System_CAPS_pubmethodGetByName(String)

Gets the Cube, with the specified name, from the collection.

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that can iterate through the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetNewID()

Gets a new unique ID for the component.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodGetNewID(String)

Gets the value for the new unique ID.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodGetNewName()

Gets a unique new name for the component.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodGetNewName(String)

Gets a unique new name for the component with the specified name prefix.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(Cube)

Gets the index of a specified Cube.

System_CAPS_pubmethodIndexOf(String)

Gets the index of a Cube, with the specified identifier.

System_CAPS_pubmethodIndexOfName(String)

Gets the index of the NamedComponent, identified by name, in the collection.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodInsert(Int32)

Creates and inserts a Cube into the collection at the specified index.

System_CAPS_pubmethodInsert(Int32, Cube)

Inserts a Cube into the collection at the specified index.

System_CAPS_protmethodInsert(Int32, ModelComponent)

Inserts a ModelComponent in the MajorObjectCollection at the specified index.(Inherited from MajorObjectCollection.)

System_CAPS_pubmethodInsert(Int32, String)

Creates and inserts a Cube, with the specified identifier, into the collection at the specified index.

System_CAPS_pubmethodInsert(Int32, String, String)

Creates and inserts a Cube, with the specified name and identifier, into the collection at the specified index.

System_CAPS_pubmethodIsValidID(String)

Determines whether the named component collection identifier is valid.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodIsValidID(String, String)

Indicates whether the identifier of the collection is valid.(Overrides NamedComponentCollection.IsValidID(String, String).)

System_CAPS_pubmethodIsValidName(String)

Determines whether the named component collection name is valid.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodIsValidName(String, String)

Indicates whether the name of the collection is valid.(Overrides NamedComponentCollection.IsValidName(String, String).)

System_CAPS_protmethodIsValidName(String, Type, ModelType, Int32, String)

Determines whether the named component collection name is valid.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodMove(Cube, Int32)

Moves a Cube to a new index in the collection.

System_CAPS_pubmethodMove(Int32, Int32)

Moves a Cube at the current specified index to a new specified index in the collection.

System_CAPS_pubmethodMove(String, Int32)

Moves a Cube, with the specified identifier, to the specified index in the collection.

System_CAPS_pubmethodRemove(Cube)

Removes the specified Cube from the collection.

System_CAPS_pubmethodRemove(Cube, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Removes the specified Cubefrom this collection.

System_CAPS_protmethodRemove(IModelComponent)

Removes the specified IModelComponent from the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodRemove(String)

Removes the Cube, with the specified identifier, from the collection.

System_CAPS_pubmethodRemove(String, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Removes a Cube from this collection.

System_CAPS_pubmethodRemoveAt(Int32)

Removes the IModelComponent at the specified index from the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodRemoveAt(Int32, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Removes the IModelComponent at the specified index from the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventCollectionChanged

This API supports the product infrastructure and is not intended to be used directly from your code. Occurs when the collection changes.(Inherited from ModelComponentCollection.)

System_CAPS_pubeventCollectionChanging

This API supports the product infrastructure and is not intended to be used directly from your code. Occurs when the collection is changing.(Inherited from ModelComponentCollection.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIOnDemandLoadableCollection.BlockOnDemandLoad(Boolean)

Specifies the blocked demand load.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIModelComponentCollection.Contains(IModelComponent)

Indicates whether the collection contains a specific value.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIModelComponentCollection.Remove(IModelComponent)

Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIModelComponentCollection.Remove(IModelComponent, Boolean)

Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Add(Object)

Adds an item to the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Clear()

Removes all items from the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Contains(Object)

Indicates whether the collection contains a specific value.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.IndexOf(Object)

Determines the index of a specific item in the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Insert(Int32, Object)

Inserts an item to the collection at the specified index.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Remove(Object)

Removes the first occurrence of a specified object from the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.RemoveAt(Int32)

Removes the item at the specified index.(Inherited from ModelComponentCollection.)

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

Return to top

Community Additions

Show:
© 2015 Microsoft