Condividi tramite


Metodo HierarchyCollection.Add (String, Boolean)

Creates and adds a Hierarchy, with the specified name, to the end of the collection.

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

Sintassi

'Dichiarazione
Public Function Add ( _
    name As String, _
    updateDependents As Boolean _
) As Hierarchy
'Utilizzo
Dim instance As HierarchyCollection 
Dim name As String 
Dim updateDependents As Boolean 
Dim returnValue As Hierarchy 

returnValue = instance.Add(name, updateDependents)
public Hierarchy Add(
    string name,
    bool updateDependents
)
public:
Hierarchy^ Add(
    String^ name, 
    bool updateDependents
)
member Add : 
        name:string * 
        updateDependents:bool -> Hierarchy
public function Add(
    name : String, 
    updateDependents : boolean
) : Hierarchy

Parametri

Valore restituito

Tipo: Microsoft.AnalysisServices.Hierarchy
A new, empty Hierarchy.

Vedere anche

Riferimento

HierarchyCollection Classe

Overload Add

Spazio dei nomi Microsoft.AnalysisServices