ConnectionInfoBase Constructor (ConnectionType)
Initializes a new instance of the ConnectionInfoBase class with the specified connection type.
Espacio de nombres: Microsoft.SqlServer.Management.Common
Ensamblado: Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxis
'Declaración
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
- serverType
Tipo: Microsoft.SqlServer.Management.Common.ConnectionType
A ConnectionType object value that specifies the type of connection.