ServerConnection.ConnectionType Property

Gets the type of connection to use in the server.

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

Syntax

'Declaration
Public ReadOnly Property ConnectionType As ServerType
    Get
'Usage
Dim instance As ServerConnection
Dim value As ServerType

value = instance.ConnectionType
public ServerType ConnectionType { get; }
public:
property ServerType ConnectionType {
    ServerType get ();
}
member ConnectionType : ServerType
function get ConnectionType () : ServerType

Property Value

Type: Microsoft.SqlServer.Management.Common.ServerType
The type of connection to use.