Udostępnij przez


Klasa ServerPropertyCollection

Kolekcja zawiera ServerProperty obiektów.Klasa ta nie może być dziedziczona.

Hierarchia dziedziczenia

System.Object
  Microsoft.AnalysisServices.ServerPropertyCollection

Przestrzeń nazw:  Microsoft.AnalysisServices
Zestaw:  Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)

Składnia

'Deklaracja
<GuidAttribute("52478F9D-620A-4fc4-98F4-E594BEA9E676")> _
Public NotInheritable Class ServerPropertyCollection _
    Implements IList, ICollection, IEnumerable
'Użycie
Dim instance As ServerPropertyCollection
[GuidAttribute("52478F9D-620A-4fc4-98F4-E594BEA9E676")]
public sealed class ServerPropertyCollection : IList, 
    ICollection, IEnumerable
[GuidAttribute(L"52478F9D-620A-4fc4-98F4-E594BEA9E676")]
public ref class ServerPropertyCollection sealed : IList, 
    ICollection, IEnumerable
[<SealedAttribute>]
[<GuidAttribute("52478F9D-620A-4fc4-98F4-E594BEA9E676")>]
type ServerPropertyCollection =  
    class
        interface IList
        interface ICollection
        interface IEnumerable
    end
public final class ServerPropertyCollection implements IList, ICollection, IEnumerable

Typ ServerPropertyCollection uwidacznia następujące elementy członkowskie.

Konstruktorzy

  Nazwa Opis
Metoda publiczna ServerPropertyCollection Inicjuje nowe wystąpienie ServerProperty.

Do góry

Właściwości

  Nazwa Opis
Właściwość publiczna Count Pobiera numer ServerProperty obiektów kolekcja.
Właściwość publiczna Item[Int32] Pobiera ServerProperty pod określonym indeksem kolekcja.
Właściwość publiczna Item[String] Pobiera ServerProperty , o określonej nazwie z kolekcja.

Do góry

Metody

  Nazwa Opis
Metoda publiczna Add(ServerProperty) Dodaje ServerProperty do końca kolekcja.
Metoda publiczna Add(String, String) Tworzy i dodaje ServerProperty, z określoną nazwą i wartością na koniec kolekcja.
Metoda publiczna Clear Usuwa wszystkie elementy z kolekcja.
Metoda publiczna Contains(String) Wskazuje, czy zawiera kolekcja ServerProperty ma określoną nazwę.
Metoda publiczna Contains(ServerProperty) Wskazuje, czy określony zawiera kolekcja ServerProperty.
Metoda publiczna CopyTo(ServerPropertyCollection) Kopiuje całą kolekcja do końca ServerPropertyCollection.
Metoda publiczna CopyTo(Array, Int32) Kopiuje całą kolekcja zgodny z jednowymiarowego Array, począwszy od określonego indeksu tablicy miejsce docelowe.
Metoda publiczna Equals (Dziedziczony z Object).
Metoda chroniona Finalize (Dziedziczony z Object).
Metoda publiczna Find Pobiera ServerProperty , o określonej nazwie z kolekcja.
Metoda publiczna GetHashCode (Dziedziczony z Object).
Metoda publiczna GetType (Dziedziczony z Object).
Metoda publiczna IndexOf(String) Pobiera indeks ServerProperty ma określoną nazwę.
Metoda publiczna IndexOf(ServerProperty) Pobiera indeks określonego ServerProperty.
Metoda publiczna Insert(Int32, ServerProperty) Wstawia ServerProperty do kolekcja pod określonym indeksem.
Metoda publiczna Insert(Int32, String, String) Tworzy i wstawia ServerProperty, z określonej nazwy i wartości do kolekcja pod określonym indeksem.
Metoda chroniona MemberwiseClone (Dziedziczony z Object).
Metoda publiczna Remove(String) Usuwa ServerProperty , o określonej nazwie z kolekcja.
Metoda publiczna Remove(ServerProperty) Usuwa określony ServerProperty z kolekcja.
Metoda publiczna RemoveAt Usuwa ServerProperty pod określonym indeksem z kolekcja.
Metoda publiczna ToString (Dziedziczony z Object).

Do góry

Bezpieczeństwo wątków

Wszystkie publiczne statyczny (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Nie ma gwarancji, że elementy członkowskie wystąpień będą bezpieczne dla wątków.