Compartilhar via


Método Add (Partition)

Adds a Partition to the end of the collection.

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

Sintaxe

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

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

Parâmetros

Valor de retorno

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