RSType.GetConnectionObject(UIConnectionInfo) 方法

定义

返回一个新的 IDbConnection 对象,该对象基于传递的 UIConnectionInfo 对象。

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 对象。

实现

适用于