RSType.GetConnectionObject Method (UIConnectionInfo)

 

Applies To: SQL Server 2016 Preview

Returns a new IDbConnection object that is based on the passed UIConnectionInfo object.

Namespace:   Microsoft.SqlServer.Management.UI.ConnectionDlg
Assembly:  ConnectionDlg (in ConnectionDlg.dll)

Syntax

public IDbConnection GetConnectionObject(
    UIConnectionInfo ci
)
public:
virtual IDbConnection^ GetConnectionObject(
    UIConnectionInfo^ ci
) sealed
abstract GetConnectionObject : 
        ci:UIConnectionInfo -> IDbConnection
override GetConnectionObject : 
        ci:UIConnectionInfo -> IDbConnection
Public Function GetConnectionObject (
    ci As UIConnectionInfo
) As IDbConnection

Parameters

Return Value

Type: System.Data.IDbConnection

The new IDbConnection object.

Implements

IServerType.GetConnectionObject(UIConnectionInfo)

See Also

RSType Class
Microsoft.SqlServer.Management.UI.ConnectionDlg Namespace

Return to top