Freigeben über


ServerConnection Constructor (SqlConnectionInfo)

Initializes a new instance of the ServerConnection class with the specified connection information.

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

Syntax

'Declaration
Public Sub New ( _
    sci As SqlConnectionInfo _
)
public ServerConnection (
    SqlConnectionInfo sci
)
public:
ServerConnection (
    SqlConnectionInfo^ sci
)
public ServerConnection (
    SqlConnectionInfo sci
)
public function ServerConnection (
    sci : SqlConnectionInfo
)

Parameter

  • sci
    A SqlConnectionInfo object value that specifies the connection information that is required to establish a connection.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

ServerConnection Class
ServerConnection Members
Microsoft.SqlServer.Management.Common Namespace

Andere Ressourcen

Connecting to an Instance of SQL Server