HierarchyCollection.Add Method (Hierarchy)
Adds a Hierarchy to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Add ( _
item As Hierarchy _
) As Integer
'Usage
Dim instance As HierarchyCollection
Dim item As Hierarchy
Dim returnValue As Integer
returnValue = instance.Add(item)
public int Add(
Hierarchy item
)
public:
int Add(
Hierarchy^ item
)
member Add :
item:Hierarchy -> int
public function Add(
item : Hierarchy
) : int
Parameters
- item
Type: Microsoft.AnalysisServices.Hierarchy
The Hierarchy to be added.
Return Value
Type: System.Int32
The zero-based index at which the Hierarchy has been added.