Share via


AggregationAttributeCollection.Add Method (String)

Creates and adds an AggregationAttribute, 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 ( _
    attributeId As String _
) As AggregationAttribute
'Usage
Dim instance As AggregationAttributeCollection
Dim attributeId As String
Dim returnValue As AggregationAttribute

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

Parameters

Return Value

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