SqlConnectionInfo Constructor (ServerConnection, ConnectionType)
Inicializa una nueva instancia de la clase SqlConnectionInfo.
Espacio de nombres: Microsoft.SqlServer.Management.Common
Ensamblado: Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxis
'Declaración
Public Sub New ( _
serverConnection As ServerConnection, _
connectionType As ConnectionType _
)
'Uso
Dim serverConnection As ServerConnection
Dim connectionType As ConnectionType
Dim instance As New SqlConnectionInfo(serverConnection, _
connectionType)
public SqlConnectionInfo(
ServerConnection serverConnection,
ConnectionType connectionType
)
public:
SqlConnectionInfo(
ServerConnection^ serverConnection,
ConnectionType connectionType
)
new :
serverConnection:ServerConnection *
connectionType:ConnectionType -> SqlConnectionInfo
public function SqlConnectionInfo(
serverConnection : ServerConnection,
connectionType : ConnectionType
)
Parámetros
- serverConnection
Tipo: Microsoft.SqlServer.Management.Common.ServerConnection
Valor de objeto ServerConnection que especifica una conexión existente en la que se basará el nuevo objeto SqlConnectionInfo.
- connectionType
Tipo: Microsoft.SqlServer.Management.Common.ConnectionType
Valor de objeto ConnectionType que especifica el tipo de conexión.