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

連結的資訊。

傳回

閉合連結物件。

適用於