Compartilhar via


Classe CubeCollection

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

Hierarquia de herança

System.Object
  Microsoft.AnalysisServices.AdomdServer.CubeCollection

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

Sintaxe

'Declaração
Public NotInheritable Class CubeCollection _
    Implements IDisposable, IEnumerable, ICollection
'Uso
Dim instance As CubeCollection
public sealed class CubeCollection : IDisposable, 
    IEnumerable, ICollection
public ref class CubeCollection sealed : IDisposable, 
    IEnumerable, ICollection
[<SealedAttribute>]
type CubeCollection =  
    class 
        interface IDisposable 
        interface IEnumerable 
        interface ICollection 
    end
public final class CubeCollection implements IDisposable, IEnumerable, ICollection

O tipo CubeCollection expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Count Gets the number of CubeDef 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 CubeDef from the collection by its index. In Microsoft Visual C#, this property is the indexer for the CubeCollection class.
Propriedade pública Item[String] Gets the specified CubeDef from the collection by its name. In Microsoft Visual C#, this property is the indexer for the CubeCollection 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 CubeCollection.
Método público CopyTo(Array, Int32) Copies the elements of the collection to the specified array.
Método público CopyTo(array<CubeDef[], Int32) Copies the elements of the collection to the specified array.
Método público Dispose Releases all resources used by the CubeCollection.
Método público Equals (Herdado de Object.)
Método público Find Gets the specified CubeDef from the collection by its name.
Método público GetEnumerator() Gets an Enumerator for iterating through the collection.
Método protegido GetEnumerator() Gets an enumerator that iterates through the CubeCollection.
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