Freigeben über


AggregationInstanceAttributeCollection.Add Method

Definition

Overloads

Add(AggregationInstanceAttribute)

Adds the specified AggregationInstanceAttribute to the end of the collection.

Add(String)

Creates a new AggregationInstanceAttribute object using the specified AttributeID, adds it to the end of the collection and returns the new AggregationInstanceAttribute created.

Add(AggregationInstanceAttribute)

Adds the specified AggregationInstanceAttribute to the end of the collection.

public int Add (Microsoft.AnalysisServices.AggregationInstanceAttribute item);
override this.Add : Microsoft.AnalysisServices.AggregationInstanceAttribute -> int
Public Function Add (item As AggregationInstanceAttribute) As Integer

Parameters

Returns

The zero-based index at which the AggregationInstanceAttribute has been added to the collection.

Exceptions

Applies to

Add(String)

Creates a new AggregationInstanceAttribute object using the specified AttributeID, adds it to the end of the collection and returns the new AggregationInstanceAttribute created.

public Microsoft.AnalysisServices.AggregationInstanceAttribute Add (string attributeId);
override this.Add : string -> Microsoft.AnalysisServices.AggregationInstanceAttribute
Public Function Add (attributeId As String) As AggregationInstanceAttribute

Parameters

attributeId
String

The AttributeID for the new AggregationInstanceAttribute object.

Returns

The newly created AggregationInstanceAttribute object.

Exceptions

The specified AttributeID is not valid in the collection.

Applies to