Freigeben über


SqlConnectionInfo Constructor (ServerConnection, ConnectionType)

Initializes a new instance of the SqlConnectionInfo class.

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

Syntax

'Declaration
Public Sub New ( _
    serverConnection As ServerConnection, _
    connectionType As ConnectionType _
)
public SqlConnectionInfo (
    ServerConnection serverConnection,
    ConnectionType connectionType
)
public:
SqlConnectionInfo (
    ServerConnection^ serverConnection, 
    ConnectionType connectionType
)
public SqlConnectionInfo (
    ServerConnection serverConnection, 
    ConnectionType connectionType
)
public function SqlConnectionInfo (
    serverConnection : ServerConnection, 
    connectionType : ConnectionType
)

Parameter

  • connectionType
    A ConnectionType object value that specifies the type of 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

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