AggregationCollection.Add Method (String)

Creates and adds an Aggregation, 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 ( _
    name As String _
) As Aggregation
'Usage
Dim instance As AggregationCollection
Dim name As String
Dim returnValue As Aggregation

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

Parameters

Return Value

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