GetConnectOptions

Description

Returns the connect options for a database. This method is for retrieving Oracle connect options for the database.

Note: This method is for Perl only. It is not available for VBScript.

Syntax

Perl


$database->GetConnectOptions(); 
Identifier
Description
database
A Database object.
Return value
A String containing the connect options for the database.

Example

Perl


# Get the database

# ...

# Get the connect options for the db

$DB->SetConnectOptions("CLIENT_VER=8.0;SERVER_VER=8.1;
                           HOST=MyOracleServerHost;SID=ORCL;LOB_TYPE=LONG");

# Then get the connect options

$CO = $DB->GetConnectOptions();

print $CO, "\n";