Compartilhar via


Construtor ConnectionInfoBase (ConnectionType)

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

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

Sintaxe

'Declaração
Protected Sub New ( _
    serverType As ConnectionType _
)
'Uso
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
)

Parâmetros