Delen via


AggregationAttributeCollection.Add Method (String)

Creates, adds to collection and returns a new AggregationAttribute.

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 newly created AggregationAttribute.

See Also

Reference

AggregationAttributeCollection Class

Add Overload

Microsoft.AnalysisServices Namespace