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.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As GenericServer
Dim appHandles() As Integer
Dim value As Integer
value = instance.RefreshItems(appHandles) |
Parameters
- appHandles
- Array with the application handle of the items that need to be refreshed.
Return Value
Always returns S_OK
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also