Proprietà AllMeasures

Gets all measures as an enumeration object.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
<BrowsableAttribute(False)> _
Public ReadOnly Property AllMeasures As MeasureEnumerator
    Get
'Utilizzo
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

Osservazioni

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.