다음을 통해 공유


ConnectionSettings.NetworkProtocol Property

Definition

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

Property Value

Applies to