Freigeben über


ServerProtocolPropertyCollection-Klasse

The ServerProtocolPropertyCollection class represents a collection of ServerProtocolProperty objects that represent all the attributes of the server protocol defined on the parent object.

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.Management.Smo.Wmi.ProtocolPropertyCollection
    Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocolPropertyCollection

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Syntax

'Declaration
Public NotInheritable Class ServerProtocolPropertyCollection _
    Inherits ProtocolPropertyCollection
'Usage
Dim instance As ServerProtocolPropertyCollection
public sealed class ServerProtocolPropertyCollection : ProtocolPropertyCollection
public ref class ServerProtocolPropertyCollection sealed : public ProtocolPropertyCollection
[<SealedAttribute>]
type ServerProtocolPropertyCollection =  
    class 
        inherit ProtocolPropertyCollection 
    end
public final class ServerProtocolPropertyCollection extends ProtocolPropertyCollection

Der ServerProtocolPropertyCollection-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Count Gets the number of ProtocolProperty objects in the referenced collection. (Geerbt von ProtocolPropertyCollection.)
Öffentliche Eigenschaft IsSynchronized Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. (Geerbt von ProtocolPropertyCollection.)
Öffentliche Eigenschaft Item[Int32] Gets a ProtocolPropertyCollection object in the collection by index number. (Geerbt von ProtocolPropertyCollection.)
Öffentliche Eigenschaft Item[String] Gets a ProtocolProperty object in the collection by name. (Geerbt von ProtocolPropertyCollection.)
Öffentliche Eigenschaft SyncRoot Gets an object that can be used to synchronize access to the collection. (Geerbt von ProtocolPropertyCollection.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Contains Checks whether the specified key value exists in the collection. (Geerbt von ProtocolPropertyCollection.)
Öffentliche Methode CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified. (Geerbt von ProtocolPropertyCollection.)
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode GetEnumerator Returns an IEnumerator interface that allows you to iterate through the objects in the collection. (Geerbt von ProtocolPropertyCollection.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode ICollection.CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified. (Geerbt von ProtocolPropertyCollection.)

Zum Anfang

Hinweise

A ServerProtocolPropertyCollection object can be used to gain access to a set of attributes of the server protocol.

Thread Safety

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Beispiele

Verwenden von Auflistungen

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Smo.Wmi-Namespace