Dela via


AggregationInstanceDimensionCollection.Add Method (AggregationInstanceDimension)

Adds the specified AggregationInstanceDimension to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As AggregationInstanceDimension _
) As Integer
'Usage
Dim instance As AggregationInstanceDimensionCollection
Dim item As AggregationInstanceDimension
Dim returnValue As Integer

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

Return Value

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