IServerType.GetConnectionObject(UIConnectionInfo) Method

Definition

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

ci
UIConnectionInfo

The connection information.

Returns

The new IDbConnection object.

Applies to