IServerType.GetConnectionObject(UIConnectionInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a new IDbConnection
object (closed) that is based on the passed UIConnectionInfo
object.
public:
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
Public Function GetConnectionObject (ci As UIConnectionInfo) As IDbConnection
Parameters
The connection information.
Returns
The new IDbConnection
object.