OlapServerType.IServerType.GetConnectionObject(UIConnectionInfo) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个新的 IDbConnection 对象,该对象基于传递的 UIConnectionInfo 对象。
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 对象。