Condividi tramite


Metodo Add (Hierarchy)

Adds a Hierarchy to the end of the collection.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function Add ( _
    item As Hierarchy _
) As Integer
'Utilizzo
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

Parametri

Valore restituito

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