IServerType.GetConnectionObject 메서드

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

네임스페이스:  Microsoft.SqlServer.Management.UI.ConnectionDlg
어셈블리:  ConnectionDlg(ConnectionDlg.dll)


Function GetConnectionObject ( _
    ci As UIConnectionInfo _
) As IDbConnection
‘사용 방법
Dim instance As IServerType 
Dim ci As UIConnectionInfo 
Dim returnValue As IDbConnection 

returnValue = instance.GetConnectionObject(ci)
IDbConnection GetConnectionObject(
    UIConnectionInfo ci
IDbConnection^ GetConnectionObject(
    UIConnectionInfo^ ci
abstract GetConnectionObject : 
        ci:UIConnectionInfo -> IDbConnection
function GetConnectionObject(
    ci : UIConnectionInfo
) : IDbConnection

매개 변수

반환 값

유형: System.Data.IDbConnection
The new IDbConnection object.

참고 항목


IServerType 인터페이스

Microsoft.SqlServer.Management.UI.ConnectionDlg 네임스페이스