Freigeben über


ClientProtocolCollection-Klasse

The ClientProtocolCollection class represents a collection of ClientProtocol objects that represent all the client protocols defined on the parent object.

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

Syntax

'Declaration
Public NotInheritable Class ClientProtocolCollection _
    Inherits WmiCollectionBase _
    Implements ICollection, IEnumerable
'Usage
Dim instance As ClientProtocolCollection
public sealed class ClientProtocolCollection : WmiCollectionBase, 
    ICollection, IEnumerable
public ref class ClientProtocolCollection sealed : public WmiCollectionBase, 
    ICollection, IEnumerable
[<SealedAttribute>]
type ClientProtocolCollection =  
    class
        inherit WmiCollectionBase
        interface ICollection
        interface IEnumerable
    end
public final class ClientProtocolCollection extends WmiCollectionBase implements ICollection, IEnumerable

Hinweise

A ClientProtocolCollection object can be used to gain access to a set of client protocols. You can use the Item property to return a specific ClientProtocol object.

Thread Safety

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Für Instanzelemente kann nicht sichergestellt werden, dass sie für Threads sicher sind.

Vererbungshierarchie

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo.Wmi. . :: . .WmiCollectionBase
    Microsoft.SqlServer.Management.Smo.Wmi..::..ClientProtocolCollection

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.