Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ClientProtocol Class

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

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

public sealed class ClientProtocol : ProtocolBase

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

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2015 Microsoft