Partilhar via


Método Add (String, Boolean)

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

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

Sintaxe

'Declaração
Public Function Add ( _
    hierarchyId As String, _
    updateDependents As Boolean _
) As CubeHierarchy
'Uso
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

Parâmetros