IServerTypeConnection.CreateClosedConnectionObject 메서드
Creates a closed connection object based on a given UIConnectionInfo.
네임스페이스: Microsoft.SqlServer.Management.UI.ConnectionDlg
어셈블리: ConnectionDlg(ConnectionDlg.dll)
구문
‘선언
Function CreateClosedConnectionObject ( _
ci As UIConnectionInfo _
) As IDbConnection
‘사용 방법
Dim instance As IServerTypeConnection
Dim ci As UIConnectionInfo
Dim returnValue As IDbConnection
returnValue = instance.CreateClosedConnectionObject(ci)
IDbConnection CreateClosedConnectionObject(
UIConnectionInfo ci
)
IDbConnection^ CreateClosedConnectionObject(
UIConnectionInfo^ ci
)
abstract CreateClosedConnectionObject :
ci:UIConnectionInfo -> IDbConnection
function CreateClosedConnectionObject(
ci : UIConnectionInfo
) : IDbConnection
매개 변수
- ci
유형: Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo
The information of the connection.
반환 값
유형: System.Data.IDbConnection
The closed connection object.