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

關閉的連接物件。

適用於