GetSecureConnectionString

Description

Obtains the encrypted string used in the database connection.

Applies to

Transaction objects

Syntax

transaction.getsecureconnectionstring ( ) 

Argument

Description

transaction

The name of a connected transaction object.


Return value

String.

Returns the encrypted string if it succeeds and an empty string ("") if an error occurs.

Examples

The following example gets the encrypted string used for database connection:

string ls_connectstring
ls_connectstring=sqlca.GetSecureConnectionString()

See also

EnableSecureConnection

SetSecureConnectionProperty

SetSecureConnectionString