IServerTypeConnection.CreateClosedConnectionObject(UIConnectionInfo) 方法

定义

基于给定的 UIConnectionInfo 创建关闭的连接对象。

public:
 System::Data::IDbConnection ^ CreateClosedConnectionObject(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ ci);
public System.Data.IDbConnection CreateClosedConnectionObject (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo ci);
abstract member CreateClosedConnectionObject : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo -> System.Data.IDbConnection
Public Function CreateClosedConnectionObject (ci As UIConnectionInfo) As IDbConnection

参数

ci
UIConnectionInfo

连接的信息。

返回

IDbConnection

关闭的连接对象。

适用于