Cube.AllMeasures Property

Gets all measures as an enumeration object.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property AllMeasures As MeasureEnumerator 
    Get
'Usage
Dim instance As Cube 
Dim value As MeasureEnumerator 

value = instance.AllMeasures
[BrowsableAttribute(false)]
public MeasureEnumerator AllMeasures { get; }
[BrowsableAttribute(false)]
public:
property MeasureEnumerator^ AllMeasures {
    MeasureEnumerator^ get ();
}
[<BrowsableAttribute(false)>]
member AllMeasures : MeasureEnumerator
function get AllMeasures () : MeasureEnumerator

Property Value

Type: Microsoft.AnalysisServices.MeasureEnumerator
A MeasureEnumerator object.

Remarks

A MeasureEnumerator is not a collection, but behaves similar to a collection. The enumeration can be walked using MoveNext() method. To reposition the enumeration at the starting you use Reset() method. The actual instance is obtained from the Current property of the enumeration.

See Also

Reference

Cube Class

Microsoft.AnalysisServices Namespace