설명
데이터베이스의 연결 옵션을 리턴합니다.
이 메소드는 데이터베이스의 Oracle 연결 옵션을 검색하는 데 사용됩니다.
주: 이 메소드는 Perl 전용입니다. VBScript에서는 사용할 수 없습니다.
구문
Perl
$database->GetConnectOptions();
- ID
- 설명
- database
- Database 오브젝트.
- Return value
- 데이터베이스에 대한 연결 옵션을 포함하는 문자열.
예제
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";