Classe ClientProtocol

The ClientProtocol class represents a network protocol installed on a client instance that allows communication with the instance of SQL Server over a network.

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

Sintassi

'Dichiarazione
Public NotInheritable Class ClientProtocol _
    Inherits ProtocolBase
'Utilizzo
Dim instance As ClientProtocol
public sealed class ClientProtocol : ProtocolBase
public ref class ClientProtocol sealed : public ProtocolBase
[<SealedAttribute>]
type ClientProtocol =  
    class
        inherit ProtocolBase
    end
public final class ClientProtocol extends ProtocolBase

Osservazioni

With the ClientProtocol class you can:

  • Modify the display name of the protocol.

  • Enable or disable the protocol.

  • View the client network library name.

  • Modify the order in which the protocol is listed and applied.

  • Create a set of attributes for the protocol.

To get or set ClientProtocol object properties or run ClientProtocol methods, users must be a member of the sysadmin fixed server role.

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.

Thread Safety

Tutti i membri pubblici static (Shared in Visual Basic) di questo tipo sono thread safe. I membri di istanza non hanno garanzia di essere thread safe.