Share via


AggregationInstanceMeasureCollection.Item Property (String)

Gets the specified AggregationInstanceMeasure object from the collection.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    measureId As String _
) As AggregationInstanceMeasure 
    Get
'Usage
Dim instance As AggregationInstanceMeasureCollection 
Dim measureId As String 
Dim value As AggregationInstanceMeasure 

value = instance(measureId)
public AggregationInstanceMeasure this[
    string measureId
] { get; }
public:
property AggregationInstanceMeasure^ default[String^ measureId] {
    AggregationInstanceMeasure^ get (String^ measureId);
}
member Item : AggregationInstanceMeasure
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.AnalysisServices.AggregationInstanceMeasure
The selected AggregationInstanceMeasure object.

Exceptions

Exception Condition
ArgumentNullException

measureId is a null reference (Nothing in Visual Basic).

ItemNotFoundException

measureId does not exist in the collection.

See Also

Reference

AggregationInstanceMeasureCollection Class

Item Overload

Microsoft.AnalysisServices Namespace