Freigeben über


ClientProtocolPropertyCollection-Klasse

The ClientProtocolPropertyCollection class represents a collection of ClientProtocolProperty objects that represent all the attributes of the client protocol defined on the parent object.

Vererbungshierarchie

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo.Wmi. . :: . .ProtocolPropertyCollection
    Microsoft.SqlServer.Management.Smo.Wmi..::..ClientProtocolPropertyCollection

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

Syntax

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

Der ClientProtocolPropertyCollection-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.)
Geschützte Methode Finalize (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.)
Geschützte Methode MemberwiseClone (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 ClientProtocolPropertyCollection object can be used to gain access to a set of an attributes of the client protocol.

Thread Safety

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Für Instanzelemente kann nicht sichergestellt werden, dass sie für Threads sicher sind.

Threadsicherheit

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