Freigeben über


MeasureCollection-Klasse

Gets a read-only, on-demand collection of Measures objects contained by a CubeDef.

Vererbungshierarchie

System.Object
  Microsoft.AnalysisServices.AdomdServer.MeasureCollection

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

Syntax

'Declaration
Public NotInheritable Class MeasureCollection _
    Implements IDisposable, IEnumerable, ICollection
'Usage
Dim instance As MeasureCollection
public sealed class MeasureCollection : IDisposable, 
    IEnumerable, ICollection
public ref class MeasureCollection sealed : IDisposable, 
    IEnumerable, ICollection
[<SealedAttribute>]
type MeasureCollection =  
    class 
        interface IDisposable 
        interface IEnumerable 
        interface ICollection 
    end
public final class MeasureCollection implements IDisposable, IEnumerable, ICollection

Der MeasureCollection-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Count Gets the number of Measure objects in the collection.
Öffentliche Eigenschaft IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread safe).
Öffentliche Eigenschaft Item[Int32] Gets the specified Measure from the collection by its index. In Microsoft Visual C#, this property is the indexer for the MeasureCollection class.
Öffentliche Eigenschaft Item[String] Gets the specified Measure from the collection by its name. In Microsoft Visual C#, this property is the indexer for the MeasureCollection class.
Öffentliche Eigenschaft SyncRoot Gets an object that can be used to synchronize access to the collection.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode {dtor} Releases all resources used by the MeasureCollection.
Öffentliche Methode CopyTo(Array, Int32) Copies the elements of the collection to the specified array.
Öffentliche Methode CopyTo(array<Measure[], Int32) Copies the elements of the collection to the specified array.
Öffentliche Methode Dispose Releases all resources used by the MeasureCollection.
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode Find Returns the specified Measure from the collection.
Öffentliche Methode GetEnumerator() Gets an Enumerator for iterating through the collection.
Geschützte Methode GetEnumerator() Gets an enumerator that iterates through the MeasureCollection.
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.AnalysisServices.AdomdServer-Namespace