DANSrv Reference
RefreshItems Method
See Also  Send Feedback
NSPluginNet4 Assembly > NSPlugin Namespace > AppPlugin Class : RefreshItems Method

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

Glossary Item Box

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 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_OK

Requirements

Target 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

See Also

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