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.

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class ServerProtocolPropertyCollection _
    Inherits ProtocolPropertyCollection
'Utilizzo
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

Nel tipo ServerProtocolPropertyCollection sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica Count Gets the number of ProtocolProperty objects in the referenced collection. Ereditato da ProtocolPropertyCollection.
Proprietà pubblica IsSynchronized Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. Ereditato da ProtocolPropertyCollection.
Proprietà pubblica Item[Int32] Gets a ProtocolPropertyCollection object in the collection by index number. Ereditato da ProtocolPropertyCollection.
Proprietà pubblica Item[String] Gets a ProtocolProperty object in the collection by name. Ereditato da ProtocolPropertyCollection.
Proprietà pubblica SyncRoot Gets an object that can be used to synchronize access to the collection. Ereditato da ProtocolPropertyCollection.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Contains Checks whether the specified key value exists in the collection. Ereditato da ProtocolPropertyCollection.
Metodo pubblico CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified. Ereditato da ProtocolPropertyCollection.
Metodo pubblico Equals Ereditato da Object.
Metodo pubblico GetEnumerator Returns an IEnumerator interface that allows you to iterate through the objects in the collection. Ereditato da ProtocolPropertyCollection.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Implementazioni esplicite dell'interfaccia

  Nome Descrizione
Implementazione esplicita dell'interfacciaMetodo privato ICollection.CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified. Ereditato da ProtocolPropertyCollection.

In alto

Osservazioni

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

Thread Safety

Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.

Esempi

Utilizzo delle raccolte

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi