RSType.GetConnectionObject(UIConnectionInfo) 方法

定義

回傳一個基於傳遞 UIConnectionInfo 物件的新 IDbConnection 物件。

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

參數

ci
UIConnectionInfo

連線資訊。

傳回

新的 IDbConnection 物件。

實作

適用於