SqlServerCeType.IServerType.GetConnectionObject 메서드
Returns a new IDbConnection object (closed) that is based on the passed UIConnectionInfo object.
네임스페이스: Microsoft.SqlServer.Management.UI.ConnectionDlg
어셈블리: ConnectionDlg(ConnectionDlg.dll)
구문
‘선언
Private Function GetConnectionObject ( _
ci As UIConnectionInfo _
) As IDbConnection Implements IServerType.GetConnectionObject
‘사용 방법
Dim instance As SqlServerCeType
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는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.
매개 변수
- ci
유형: Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo
The connection information.
반환 값
유형: System.Data.IDbConnection
The new IDbConnection object.
구현
IServerType.GetConnectionObject(UIConnectionInfo)