Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HierarchyCollection.Insert Method (Int32, String)

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

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

public Hierarchy Insert(
	int index,
	string name
)

Parameters

index
Type: Int32
The zero-based index at which the new Hierarchy will be inserted.
name
Type: String
The name of the Hierarchy to be inserted.

Return Value

Type: Microsoft.AnalysisServices.Hierarchy
A new, empty Hierarchy.

ExceptionCondition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

Community Additions

Show:
© 2015 Microsoft