Freigeben über


ServerPropertyCollection-Klasse

Contains a collection of ServerProperty objects. This class cannot be inherited.

Vererbungshierarchie

System. . :: . .Object
  Microsoft.AnalysisServices..::..ServerPropertyCollection

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

Syntax

'Declaration
<GuidAttribute("52478F9D-620A-4fc4-98F4-E594BEA9E676")> _
Public NotInheritable Class ServerPropertyCollection _
    Implements IList, ICollection, IEnumerable
'Usage
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

Der ServerPropertyCollection-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode ServerPropertyCollection Initializes a new instance of ServerProperty.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Count Gets the number of ServerProperty objects in the collection.
Öffentliche Eigenschaft Item[ ( [ ( Int32] ) ] ) Gets the ServerProperty at the specified index in the collection.
Öffentliche Eigenschaft Item[ ( [ ( String] ) ] ) Gets the ServerProperty that has the specified name from the collection.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Add(ServerProperty) Adds a ServerProperty to the end of the collection.
Öffentliche Methode Add(String, String) Creates and adds a ServerProperty, with the specified name and value, to the end of the collection.
Öffentliche Methode Clear Removes all elements from the collection.
Öffentliche Methode Contains(String) Indicates whether the collection contains a ServerProperty that has the specified name.
Öffentliche Methode Contains(ServerProperty) Indicates whether the collection contains a specified ServerProperty.
Öffentliche Methode CopyTo(ServerPropertyCollection) Copies the entire collection to the end of a ServerPropertyCollection.
Öffentliche Methode CopyTo(Array, Int32) Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode Find Gets the ServerProperty that has the specified name from the collection.
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode IndexOf(String) Gets the index of a ServerProperty that has the specified name.
Öffentliche Methode IndexOf(ServerProperty) Gets the index of a specified ServerProperty.
Öffentliche Methode Insert(Int32, ServerProperty) Inserts a ServerProperty into the collection at the specified index.
Öffentliche Methode Insert(Int32, String, String) Creates and inserts a ServerProperty, with the specified name and value, into the collection at the specified index.
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode Remove(String) Removes the ServerProperty that has the specified name from the collection.
Öffentliche Methode Remove(ServerProperty) Removes the specified ServerProperty from the collection.
Öffentliche Methode RemoveAt Removes the ServerProperty at the specified index from the collection.
Ö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.