Classe LevelCollection

Contains a read-only, on-demand collection of Level objects contained in a Hierarchy.

Gerarchia di ereditarietà

System.Object
  Microsoft.AnalysisServices.AdomdServer.LevelCollection

Spazio dei nomi  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Sintassi

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

Nel tipo LevelCollection sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica Count Gets the number of Level objects in the collection.
Proprietà pubblica IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread safe).
Proprietà pubblica Item[Int32] Gets the specified Level from the collection by its index. In Microsoft Visual C#, this property is the indexer for the LevelCollection class.
Proprietà pubblica Item[String] Gets the specified Level from the collection by its name. In Microsoft Visual C#, this property is the indexer for the LevelCollection class.
Proprietà pubblica SyncRoot Gets an object that can be used to synchronize access to the collection.

In alto

Metodi

  Nome Descrizione
Metodo pubblico {dtor} Releases all resources used by the LevelCollection.
Metodo pubblico CopyTo(Array, Int32) Copies the elements of the collection to the specified array.
Metodo pubblico CopyTo(array<Level[], Int32) Copies the elements of the collection to the specified array.
Metodo pubblico Dispose Releases all resources used by the LevelCollection.
Metodo pubblico Equals Ereditato da Object.
Metodo pubblico Find Gets the specified Level from the collection by its name.
Metodo pubblico GetEnumerator() Gets an Enumerator for iterating through the collection.
Metodo protetto GetEnumerator() Returns an enumerator that can iterate through the LevelCollection instance.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.AnalysisServices.AdomdServer