Partilhar via


Método Add (CubeHierarchy)

Adds a CubeHierarchy to the end of the collection.

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

Sintaxe

'Declaração
Public Function Add ( _
    item As CubeHierarchy _
) As Integer
'Uso
Dim instance As CubeHierarchyCollection
Dim item As CubeHierarchy
Dim returnValue As Integer

returnValue = instance.Add(item)
public int Add(
    CubeHierarchy item
)
public:
int Add(
    CubeHierarchy^ item
)
member Add : 
        item:CubeHierarchy -> int 
public function Add(
    item : CubeHierarchy
) : int

Parâmetros

Valor de retorno

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