SqlServerType.IServerType.GetConnectionObject(UIConnectionInfo) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取基于传递 UIConnectionInfo 对象的新IDbConnection对象(已关闭)。
virtual System::Data::IDbConnection ^ Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType.GetConnectionObject(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ ci) = Microsoft::SqlServer::Management::UI::ConnectionDlg::IServerType::GetConnectionObject;
System.Data.IDbConnection IServerType.GetConnectionObject(Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo ci);
abstract member Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType.GetConnectionObject : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo -> System.Data.IDbConnection
override this.Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType.GetConnectionObject : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo -> System.Data.IDbConnection
Function GetConnectionObject (ci As UIConnectionInfo) As IDbConnection Implements IServerType.GetConnectionObject
参数
连接信息。
返回
新的IDbConnection对象。