IServerTypeConnection.CreateClosedConnectionObject(UIConnectionInfo) Method

Definition

Creates a closed connection object based on a given UIConnectionInfo.

public:
 System::Data::IDbConnection ^ CreateClosedConnectionObject(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ ci);
public System.Data.IDbConnection CreateClosedConnectionObject (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo ci);
abstract member CreateClosedConnectionObject : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo -> System.Data.IDbConnection
Public Function CreateClosedConnectionObject (ci As UIConnectionInfo) As IDbConnection

Parameters

ci
UIConnectionInfo

The information of the connection.

Returns

The closed connection object.

Applies to