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
매개 변수
- ci
유형: Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo
The connection information.
반환 값
유형: System.Data.IDbConnection
The new IDbConnection object.