Share via


CubeHierarchyCollection.Add Method (CubeHierarchy)

Adds a CubeHierarchy to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As CubeHierarchy _
) As Integer
'Usage
Dim instance As CubeHierarchyCollection
Dim item As CubeHierarchy
Dim returnValue As Integer

returnValue = instance.Add(item)

Parameters

Return Value

Type: System.Int32
The zero-based index at which the CubeHierarchy has been added.