Share via


AggregationDesignDimensionCollection.Add Method (String)

Creates and adds an AggregationDesignDimension, with the specified identifier, to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    cubeDimensionId As String _
) As AggregationDesignDimension
'Usage
Dim instance As AggregationDesignDimensionCollection
Dim cubeDimensionId As String
Dim returnValue As AggregationDesignDimension

returnValue = instance.Add(cubeDimensionId)
public AggregationDesignDimension Add(
    string cubeDimensionId
)
public:
AggregationDesignDimension^ Add(
    String^ cubeDimensionId
)
member Add : 
        cubeDimensionId:string -> AggregationDesignDimension 
public function Add(
    cubeDimensionId : String
) : AggregationDesignDimension

Parameters

Return Value

Type: Microsoft.AnalysisServices.AggregationDesignDimension
The zero-based index at which the AggregationDesignDimension has been added.