Licence Protector

SetCheckInterval

Hide Navigation Pane

SetCheckInterval

Previous topic Next topic  

SetCheckInterval

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

 

You can overwrite the default interval with an own interval.

 

Name

SetCheckInterval                                                                                          

Purpose

Sets the interval for automatic validates in a concurrent user module.

Params

Parameter

Type

Example

Note

ModuleID

String

D1006

Unique ModuleID of a concurrent user module

Interval

Integer

120

The interval in seconds

Returncode

Returncode

Type Integer

Note

0

Interval successfully set

> 0

Error occurred, see list of return codes

Usage

To change the current checking interval.

Sample

 

  iRes := lic.SetCheckInterval (‘D1006’, 120);

  if iRes <> 0 then

  begin

    << an error occurred >>

     ...

  end

  else

  begin

     << interval successfully set to 2 minutes >>

     ...

See also

Concurrent user, CheckInterval

.