Share via


AggregationInstanceAttributeCollection.Add Method (AggregationInstanceAttribute)

Adds the specified AggregationInstanceAttribute to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As AggregationInstanceAttribute _
) As Integer
'Usage
Dim instance As AggregationInstanceAttributeCollection
Dim item As AggregationInstanceAttribute
Dim returnValue As Integer

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

Return Value

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