CubeHierarchyCollection.Insert CubeHierarchyCollection.Insert CubeHierarchyCollection.Insert Method

Definition

Inserts a CubeHierarchy into the collection.

Overloads

Insert(Int32, String) Insert(Int32, String) Insert(Int32, String)

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

Insert(Int32, CubeHierarchy) Insert(Int32, CubeHierarchy) Insert(Int32, CubeHierarchy)

Inserts a CubeHierarchy into the collection at the specified index.

Insert(Int32, String) Insert(Int32, String) Insert(Int32, String)

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

public:
 Microsoft::AnalysisServices::CubeHierarchy ^ Insert(int index, System::String ^ hierarchyId);
public Microsoft.AnalysisServices.CubeHierarchy Insert (int index, string hierarchyId);
Public Function Insert (index As Integer, hierarchyId As String) As CubeHierarchy
Parameters
index
Int32 Int32 Int32

The zero-based index at which the new CubeHierarchy will be inserted.

hierarchyId
String String String

The identifier of the CubeHierarchy to be inserted.

Returns
Exceptions

Insert(Int32, CubeHierarchy) Insert(Int32, CubeHierarchy) Insert(Int32, CubeHierarchy)

Inserts a CubeHierarchy into the collection at the specified index.

public:
 void Insert(int index, Microsoft::AnalysisServices::CubeHierarchy ^ item);
public void Insert (int index, Microsoft.AnalysisServices.CubeHierarchy item);
Public Sub Insert (index As Integer, item As CubeHierarchy)
Parameters
index
Int32 Int32 Int32

The zero-based index at which the new CubeHierarchy will be inserted.

Exceptions

Applies to