SetSessionTimerPollInterval

Description

Sets global poll interval. The value takes effect only if it is lower than current poll interval. Setting the value to zero disables timeouts on all user databases open in all sessions within the current process.
Note: This method is for Perl only. It is not available for VBScript.

Syntax

Perl


$compassObj->SetSessionTimerPollInterval(seconds); 
Identifier
Description
compassObj
A CQCompass object.
seconds
A Long containing the value in seconds for a new poll interval.
Return value
None.

Example

Perl

use CQPerlExt;
my $cqobject =  CQCompass::Build()
my $currentPollInterval = $cqobject->GetSessionTimerPollInterval();
# Disable db timeouts by setting Poll interval to 0
$cqobject->SetSessionTimerPollInterval (0);