Share via


MultiServerSqlConnectionInfo.NetworkProtocol Property

Specifies the type of network protocol that will be used by the connection.

Namespace:  Microsoft.SqlServer.Management.MultiServerConnection
Assembly:  Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)

Syntax

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

Property Value

Type: Microsoft.SqlServer.Management.Common.NetworkProtocol
A NetworkProtocol value that specifies the network protocol used by the connection.