SqlConnectionInfo.DefaultNetworkProtocol 字段
NetworkProtocol 对象,用于指定连接的默认网络协议。
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
Public Shared ReadOnly DefaultNetworkProtocol As NetworkProtocol
用法
Dim value As NetworkProtocol
value = SqlConnectionInfo.DefaultNetworkProtocol
public static readonly NetworkProtocol DefaultNetworkProtocol
public:
static initonly NetworkProtocol DefaultNetworkProtocol
static val DefaultNetworkProtocol: NetworkProtocol
public static final var DefaultNetworkProtocol : NetworkProtocol