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)
public int Add(
    CubeHierarchy item
)
public:
int Add(
    CubeHierarchy^ item
)
member Add : 
        item:CubeHierarchy -> int
public function Add(
    item : CubeHierarchy
) : int

Parameters

Return Value

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

See Also

Reference

CubeHierarchyCollection Class

Add Overload

Microsoft.AnalysisServices Namespace