RSType.CreateClosedConnectionObject(UIConnectionInfo) Method

Definition

Retrieves a value that creates an object to close the connection.

public:
 virtual 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
override this.CreateClosedConnectionObject : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo -> System.Data.IDbConnection
Public Function CreateClosedConnectionObject (ci As UIConnectionInfo) As IDbConnection

Parameters

ci
UIConnectionInfo

The connection information.

Returns

A value that creates an object that closes the connection.

Implements

Applies to