共用方式為


AllMeasures 屬性

Gets all measures as an enumeration object.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
<BrowsableAttribute(False)> _
Public ReadOnly Property AllMeasures As MeasureEnumerator
    Get
'用途
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

備註

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.