ConnectionInfoBase Constructor (ConnectionType)

Initializes a new instance of the ConnectionInfoBase class with the specified connection type.

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

Syntax

'Declaration
Protected Sub New ( _
    serverType As ConnectionType _
)
'Usage
Dim serverType As ConnectionType

Dim instance As New ConnectionInfoBase(serverType)
protected ConnectionInfoBase(
    ConnectionType serverType
)
protected:
ConnectionInfoBase(
    ConnectionType serverType
)
new : 
        serverType:ConnectionType -> ConnectionInfoBase
protected function ConnectionInfoBase(
    serverType : ConnectionType
)

Parameters