ConnectionSettings.NetworkProtocol Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies the client network protocol that is used to connect to SQL Server. If you do not specify a network and you use a local server, shared memory is used. If you do not specify a network and you use a remote server, the one of the configured client protocols is used. Exceptions: ConnectionCannotBeChangedException InvalidPropertyValueException
public Microsoft.SqlServer.Management.Common.NetworkProtocol NetworkProtocol { get; set; }
member this.NetworkProtocol : Microsoft.SqlServer.Management.Common.NetworkProtocol with get, set
Public Property NetworkProtocol As NetworkProtocol