Return the idle time for this transaction in seconds.


Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)

Syntax

Visual Basic (Declaration)
Public Function getIdleTime() As Integer
C#
public int getIdleTime()
C++
public:
 int getIdleTime() sealed 
J#
public int getIdleTime()
JScript
public  function getIdleTime() : int

Remarks

If there is no transaction or no idle time it returns -1.

The idle time is the time since the last modify operation associated with this transaction completed. If there are no update operations associated with this transaction it is the time since the transaction was created. If a modify operation is in progress the idle time will be zero.

See Also