Partager via


Classe ServerProtocolPropertyCollection

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

Hiérarchie d'héritage

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

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

Syntaxe

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

Le type ServerProtocolPropertyCollection 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 ServerProtocolPropertyCollection object can be used to gain access to a set of attributes of the server 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.