다음을 통해 공유


ConnectionSettings.NetworkProtocol 속성

Gets or sets the network protocol used to establish the connection to the server.

네임스페이스:  Microsoft.SqlServer.Management.Common
어셈블리:  Microsoft.SqlServer.ConnectionInfo(Microsoft.SqlServer.ConnectionInfo.dll)

구문

‘선언
Public Property NetworkProtocol As NetworkProtocol 
    Get 
    Set
‘사용 방법
Dim instance As ConnectionSettings 
Dim value As NetworkProtocol 

value = instance.NetworkProtocol

instance.NetworkProtocol = value
public NetworkProtocol NetworkProtocol { get; set; }
public:
property NetworkProtocol NetworkProtocol {
    NetworkProtocol get ();
    void set (NetworkProtocol value);
}
member NetworkProtocol : NetworkProtocol with get, set
function get NetworkProtocol () : NetworkProtocol 
function set NetworkProtocol (value : NetworkProtocol)

속성 값

유형: Microsoft.SqlServer.Management.Common.NetworkProtocol
A NetworkProtocol object value that specifies the network protocol used to establish the connection to the server.

참고 항목

참조

ConnectionSettings 클래스

Microsoft.SqlServer.Management.Common 네임스페이스