Export (0) Print
Expand All

CubeHierarchyCollection.Insert Method (Int32, String)

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

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

public CubeHierarchy Insert(
	int index,
	string hierarchyId
)

Parameters

index
Type: Int32
The zero-based index at which the new CubeHierarchy will be inserted.
hierarchyId
Type: String
The identifier of the CubeHierarchy to be inserted.

ExceptionCondition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

Community Additions

ADD
Show:
© 2014 Microsoft