PartitionCollection.Add Method (Partition)

Adds a Partition to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As Partition _
) As Integer
'Usage
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

Parameters

Return Value

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

See Also

Reference

PartitionCollection Class

Add Overload

Microsoft.AnalysisServices Namespace