OlapServerType.IServerType.GetConnectionObject Method

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

'Declaration
Private Function GetConnectionObject ( _
    ci As UIConnectionInfo _
) As IDbConnection Implements IServerType.GetConnectionObject
'Usage
Dim instance As OlapServerType 
Dim ci As UIConnectionInfo 
Dim returnValue As IDbConnection 

returnValue = CType(instance, IServerType).GetConnectionObject(ci)
IDbConnection IServerType.GetConnectionObject(
    UIConnectionInfo ci
)
private:
virtual IDbConnection^ GetConnectionObject(
    UIConnectionInfo^ ci
) sealed = IServerType::GetConnectionObject
private abstract GetConnectionObject : 
        ci:UIConnectionInfo -> IDbConnection  
private override GetConnectionObject : 
        ci:UIConnectionInfo -> IDbConnection
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Return Value

Type: System.Data.IDbConnection
The new IDbConnection object.

Implements

IServerType.GetConnectionObject(UIConnectionInfo)

See Also

Reference

OlapServerType Class

Microsoft.SqlServer.Management.UI.ConnectionDlg Namespace