Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 DtsServerType
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
- ci
Type: Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo
The connection info for SQL Server.
Return Value
Type: System.Data.IDbConnection
The new IDbConnection object.
Implements
IServerType.GetConnectionObject(UIConnectionInfo)