Refresh the items listed in the appHandles array in the cache.
This method is called when a client executes a read from device or a read with maxAge argument
For OPC DA V2 read from device calls the method is called with all client requested items. In OPCDA V3 / XMLDA read calls the method is called only with the handles of the items that are currently in the cache older than maxAge.
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As AppPlugin Dim appHandles() As Integer Dim value As Integer value = instance.RefreshItems(appHandles) |
C# | |
---|---|
public new int RefreshItems( int[] appHandles ) |
Parameters
- appHandles
- Array with the application handle of the items that need to be refreshed.
Return Value
Always returns S_OKTarget Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2