Data.SqlExpr.TSQLConnection.CloneConnection

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CloneConnection: TSQLConnection;

C++

TSQLConnection* __fastcall CloneConnection();

Properties

Type Visibility Source Unit Parent
function public
Data.SqlExpr.pas
Data.SqlExpr.hpp
Data.SqlExpr TSQLConnection

Description

Returns a copy of the SQL connection object.

Call CloneConnection to create a duplicate of this TSQLConnection object. CloneConnection instantiates a new TSQLConnection object and assigns its properties to match those of this TSQLConnection object.

The returned TSQLConnection is owned by this TSQLConnection. That is, this SQL connection component frees the clone from its own destructor.

See Also