Compartilhar 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.

Hierarquia de herança

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

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

Sintaxe

'Declaração
Public NotInheritable Class ClientProtocolPropertyCollection _
    Inherits ProtocolPropertyCollection
'Uso
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

O tipo ClientProtocolPropertyCollection expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Count Gets the number of ProtocolProperty objects in the referenced collection. (Herdado de ProtocolPropertyCollection.)
Propriedade pública IsSynchronized Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. (Herdado de ProtocolPropertyCollection.)
Propriedade pública Item[Int32] Gets a ProtocolPropertyCollection object in the collection by index number. (Herdado de ProtocolPropertyCollection.)
Propriedade pública Item[String] Gets a ProtocolProperty object in the collection by name. (Herdado de ProtocolPropertyCollection.)
Propriedade pública SyncRoot Gets an object that can be used to synchronize access to the collection. (Herdado de ProtocolPropertyCollection.)

Início

Métodos

  Nome Descrição
Método público Contains Checks whether the specified key value exists in the collection. (Herdado de ProtocolPropertyCollection.)
Método público CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified. (Herdado de ProtocolPropertyCollection.)
Método público Equals (Herdado de Object.)
Método público GetEnumerator Returns an IEnumerator interface that allows you to iterate through the objects in the collection. (Herdado de ProtocolPropertyCollection.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método público ToString (Herdado de Object.)

Início

Implementações de interfaces explícitas

  Nome Descrição
Implementações de interfaces explícitasMétodo privado ICollection.CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified. (Herdado de ProtocolPropertyCollection.)

Início

Comentários

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

Thread Safety

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Exemplos

Usando coleções

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.SqlServer.Management.Smo.Wmi

Outros recursos

Usando coleções