ConnectionSettings.NetworkProtocol-Eigenschaft

Ruft das Netzwerkprotokoll ab, das zum Herstellen der Verbindung mit dem Server verwendet wird, oder legt es fest.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public Property NetworkProtocol As NetworkProtocol 
    Get 
    Set
'Usage
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)

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Common.NetworkProtocol
Ein NetworkProtocol-Objektwert, der das Netzwerkprotokoll angibt, das verwendet wird, um die Verbindung mit dem Server herzustellen.

Siehe auch

Verweis

ConnectionSettings Klasse

Microsoft.SqlServer.Management.Common-Namespace