Condividi tramite


Proprietà ConnectionSettings.NetworkProtocol

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

Spazio dei nomi  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Sintassi

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

Valore proprietà

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

Vedere anche

Riferimento

ConnectionSettings Classe

Spazio dei nomi Microsoft.SqlServer.Management.Common