Data.SqlExpr.TSQLConnection.CloneConnection

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.SqlExpr.pas
Data.SqlExpr.hpp
Unit: Data.SqlExpr
Parent: TSQLConnection

Delphi

function CloneConnection: TSQLConnection;

C++

TSQLConnection* __fastcall CloneConnection();

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