XDASrv Reference Manual
RefreshItems Method
See Also  Send Feedback
NSPlugin Namespace > GenericServer Class : RefreshItems Method




appHandles
Array with the application handle of the items that need to be refreshed.

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 (Declaration) 
Public Function RefreshItems( _
   ByVal appHandles() As Integer _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As GenericServer
Dim appHandles() As Integer
Dim value As Integer
 
value = instance.RefreshItems(appHandles)
C# 
public int RefreshItems( 
   int[] appHandles
)
Managed Extensions for C++ 
public: int RefreshItems( 
   int[]* appHandles
) 
C++/CLI 
public:
int RefreshItems( 
   array<int>^ 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

Copyright © 2002-2011 Advosol Inc. All Rights Reserved.