Delen via


AggregationAttributeCollection.Add Method (AggregationAttribute)

Adds an AggregationAttribute to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As AggregationAttribute _
) As Integer
'Usage
Dim instance As AggregationAttributeCollection 
Dim item As AggregationAttribute 
Dim returnValue As Integer 

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

Parameters

Return Value

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

See Also

Reference

AggregationAttributeCollection Class

Add Overload

Microsoft.AnalysisServices Namespace