Partager via


Méthode Add (Hierarchy)

Adds a Hierarchy to the end of the collection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Add ( _
    item As Hierarchy _
) As Integer
'Utilisation
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

Paramètres

Valeur de retour

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