Compartilhar via


Classe KpiCollection

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

Hierarquia de herança

System.Object
  Microsoft.AnalysisServices.AdomdServer.KpiCollection

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

Sintaxe

'Declaração
Public NotInheritable Class KpiCollection _
    Implements IDisposable, IEnumerable, ICollection
'Uso
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

O tipo KpiCollection expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Count Gets the number of Kpi objects in the collection.
Propriedade pública IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread safe).
Propriedade pública 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.
Propriedade pública 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.
Propriedade pública SyncRoot Gets an object that can be used to synchronize access to the collection.

Início

Métodos

  Nome Descrição
Método público {dtor} Releases all resources used by the KpiCollection.
Método público CopyTo(Array, Int32) Copies the elements of the collection to the specified array.
Método público CopyTo(array<Kpi[], Int32) Copies the elements of the collection to the specified array.
Método público Dispose Releases all resources used by the KpiCollection.
Método público Equals (Herdado de Object.)
Método público Find Gets the specified Kpi from the collection by its name.
Método público GetEnumerator() Gets an Enumerator for iterating through the collection.
Método protegido GetEnumerator() Returns an enumerator that can iterate through the KpiCollection instance.
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método público ToString (Herdado de Object.)

Início

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.AnalysisServices.AdomdServer