Share via


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
)

Parameters

  • connectionType
    A ConnectionType object value that specifies the type of connection.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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