Compartilhar via


Classe ProtocolPropertyCollection

The ProtocolPropertyCollection class represents a collection of ProtocolProperty objects that represent all the attributes of the protocol defined on the parent object.

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

Sintaxe

'Declaração
Public MustInherit Class ProtocolPropertyCollection _
    Implements ICollection, IEnumerable
'Uso
Dim instance As ProtocolPropertyCollection
public abstract class ProtocolPropertyCollection : ICollection, 
    IEnumerable
public ref class ProtocolPropertyCollection abstract : ICollection, 
    IEnumerable
[<AbstractClassAttribute>]
type ProtocolPropertyCollection =  
    class
        interface ICollection
        interface IEnumerable
    end
public abstract class ProtocolPropertyCollection implements ICollection, IEnumerable

Comentários

The ProtocolPropertyCollection object is used in the construction of the ServerProtocolPropertyCollection object, the IPAddressPropertyCollection object, and the ClientProtocolPropertyCollection object and contains functionality that is common to all.

A ProtocolPropertyCollection object can be used to gain access to a set of attributes of the protocol. You can use the Item property to return a specific ProtocolProperty object.

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.

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.