ServerConnection Constructor (SqlConnectionInfo)
Initializes a new instance of the ServerConnection class with the specified connection information.
Espacio de nombres: Microsoft.SqlServer.Management.Common
Ensamblado: Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxis
'Declaración
Public Sub New ( _
sci As SqlConnectionInfo _
)
'Uso
Dim sci As SqlConnectionInfo
Dim instance As New ServerConnection(sci)
public ServerConnection(
SqlConnectionInfo sci
)
public:
ServerConnection(
SqlConnectionInfo^ sci
)
new :
sci:SqlConnectionInfo -> ServerConnection
public function ServerConnection(
sci : SqlConnectionInfo
)
Parámetros
- sci
Tipo: Microsoft.SqlServer.Management.Common.SqlConnectionInfo
A SqlConnectionInfo object value that specifies the connection information that is required to establish a connection.