Método Add (Hierarchy)

Adds a Hierarchy to the end of the collection.

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

Sintaxe

'Declaração
Public Function Add ( _
    item As Hierarchy _
) As Integer
'Uso
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

Parâmetros

Valor de retorno

Tipo: System. . :: . .Int32
The zero-based index at which the Hierarchy has been added.