Condividi tramite


Metodo CubeHierarchyCollection.Add (String, Boolean)

Creates and adds a CubeHierarchy, with the specified identifier, to the end of the collection.

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

Sintassi

'Dichiarazione
Public Function Add ( _
    hierarchyId As String, _
    updateDependents As Boolean _
) As CubeHierarchy
'Utilizzo
Dim instance As CubeHierarchyCollection 
Dim hierarchyId As String 
Dim updateDependents As Boolean 
Dim returnValue As CubeHierarchy 

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

Parametri

Valore restituito

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

Vedere anche

Riferimento

CubeHierarchyCollection Classe

Overload Add

Spazio dei nomi Microsoft.AnalysisServices