Freigeben über


KpiCollection-Klasse

Contains a read-only, on-demand list of Kpi objects contained by a CubeDef.

Vererbungshierarchie

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdServer..::..KpiCollection

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

Syntax

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

Der KpiCollection-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Count Gets the number of Kpi 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 Kpi from the collection by its index. In Microsoft Visual C#, this property is the indexer for the KpiCollection class.
Öffentliche Eigenschaft Item[ ( [ ( String] ) ] ) Gets the specified Kpi from the collection by its name. In Microsoft Visual C#, this property is the indexer for the KpiCollection 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 KpiCollection.
Öffentliche Methode CopyTo(Array, Int32) Copies the elements of the KpiCollection collection to the specified array.
Öffentliche Methode CopyTo(array<Kpi> [] () [] [], Int32) Copies the elements of the collection to the specified array.
Öffentliche Methode Dispose Releases all resources used by the KpiCollection.
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode Find Gets the specified Kpi from the collection by its name.
Öffentliche Methode GetEnumerator() () () () Gets an Enumerator for iterating through the collection.
Geschützte Methode GetEnumerator() () () ()
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (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.