uaPLUS Reference
oncbGetRefreshNeed Method
See Also  Send Feedback
Advosol.uaPLUS Namespace > uaPLUS Class : oncbGetRefreshNeed Method

mode

Controls how the refresh need is terminated.
0: return all items with exeeded maxAge
1: return only items with activeCount>0 and exceeded maxAge for UA it means the currently monitored items with exceeded maxAge.

maxAge
Age in ms to require a refreshAge in ms to require a refresh
numHandles
AppItemHandles
The handles of the items that need refresh.

Glossary Item Box

Get a list of items that need to be refreshed.

Syntax

Visual Basic (Declaration) 
Public Function oncbGetRefreshNeed( _
   ByVal mode As Integer, _
   ByVal maxAge As Integer, _
   ByRef numHandles As Integer, _
   ByRef AppItemHandles As IntPtr _
) As Integer
C# 
public int oncbGetRefreshNeed( 
   int mode,
   int maxAge,
   out int numHandles,
   out IntPtr AppItemHandles
)

Parameters

mode

Controls how the refresh need is terminated.
0: return all items with exeeded maxAge
1: return only items with activeCount>0 and exceeded maxAge for UA it means the currently monitored items with exceeded maxAge.

maxAge
Age in ms to require a refreshAge in ms to require a refresh
numHandles
AppItemHandles
The handles of the items that need refresh.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family

See Also

© 2010-2018 Copyright Advosol Inc. All Rights Reserved.