Partager via


Classe ClientProtocolPropertyCollection

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

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Wmi
Assembly :  Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)

Syntaxe

'Déclaration
Public NotInheritable Class ClientProtocolPropertyCollection _
    Inherits ProtocolPropertyCollection
'Utilisation
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

Le type ClientProtocolPropertyCollection expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Count Gets the number of ProtocolProperty objects in the referenced collection. (hérité de ProtocolPropertyCollection.)
Propriété publique IsSynchronized Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. (hérité de ProtocolPropertyCollection.)
Propriété publique Item[ ( [ ( Int32] ) ] ) Gets a ProtocolPropertyCollection object in the collection by index number. (hérité de ProtocolPropertyCollection.)
Propriété publique Item[ ( [ ( String] ) ] ) Gets a ProtocolProperty object in the collection by name. (hérité de ProtocolPropertyCollection.)
Propriété publique SyncRoot Gets an object that can be used to synchronize access to the collection. (hérité de ProtocolPropertyCollection.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Contains Checks whether the specified key value exists in the collection. (hérité de ProtocolPropertyCollection.)
Méthode publique CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified. (hérité de ProtocolPropertyCollection.)
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetEnumerator Returns an IEnumerator interface that allows you to iterate through the objects in the collection. (hérité de ProtocolPropertyCollection.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée ICollection. . :: . .CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified. (hérité de ProtocolPropertyCollection.)

Haut de la page

Notes

A ClientProtocolPropertyCollection object can be used to gain access to a set of an attributes of the client protocol.

Thread Safety

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.