ConnectionInfoBase.ServerType Property

Gets or sets the server connection type.

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

Syntax

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

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

Property Value

Type: Microsoft.SqlServer.Management.Common.ConnectionType
A ConnectionType system object value that specifies the type of connection.