SetDisable Method (ClientNetworkProtocol Class)

Applies to: SQL Server

Disables the client network protocol that is specified by the Configure Client Protocols.

Syntax

  
object.SetDisable()  

Parts

object
A ClientNetworkProtocol Class object that represents the network protocol used by the Microsoft SQL Server client.

Property Value/Return Value

A uint32 value, which is 0 if the service was successfully modified, 1 if the request is not supported, and any other number to indicate an error.

Remarks

See Also

Configuring Client Network Protocols and Net-Libraries