共用方式為


AggregationAttributeCollection.Item[] Property

Definition

Overloads

Item[String]

Gets the AggregationAttribute, with the specified AttributeID, from the collection.

Item[Int32]

Gets the AggregationAttribute, at the specified index, from the collection.

Item[String]

Gets the AggregationAttribute, with the specified AttributeID, from the collection.

public Microsoft.AnalysisServices.AggregationAttribute this[string attributeId] { get; }
member this.Item(string) : Microsoft.AnalysisServices.AggregationAttribute
Default Public ReadOnly Property Item(attributeId As String) As AggregationAttribute

Parameters

attributeId
String

The AttributeID of the AggregationAttribute to be returned.

Property Value

The AggregationAttribute with the specified AttributeID.

Exceptions

The collection doesn't contain an AggregationAttribute with the specified AttributeID.

Applies to

Item[Int32]

Gets the AggregationAttribute, at the specified index, from the collection.

public Microsoft.AnalysisServices.AggregationAttribute this[int index] { get; }
member this.Item(int) : Microsoft.AnalysisServices.AggregationAttribute
Default Public ReadOnly Property Item(index As Integer) As AggregationAttribute

Parameters

index
Int32

The zero-based index of the AggregationAttribute to be returned.

Property Value

The AggregationAttribute at the specified index.

Exceptions

The specified index is not a valid value (less than zero or bigger then the total number of elements).

Applies to