OPC Historian .NET Server Toolkit Reference
OnReadAnnotations Method (GenericServer)

This method makes callbacks to the client though the generic server. It is to be used to notify the client on completion of Annotation Read requests.
Syntax
'Usage
 
Dim instance As GenericServer
Dim transactionID As Integer
Dim status As Integer
Dim numItems As Integer
Dim AnnotationValues() As AnnotationDef
Dim errors() As Integer
Dim value As Integer
 
value = instance.OnReadAnnotations(transactionID, status, numItems, AnnotationValues, errors)
public int OnReadAnnotations( 
   int transactionID,
   int status,
   int numItems,
   AnnotationDef[] AnnotationValues,
   int[] errors
)

Parameters

transactionID
status
numItems
AnnotationValues
errors

Return Value

HRESULTS success/error code
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

Reference

GenericServer Class
GenericServer Members

 

 


Copyright © 2004-2019 Advosol Inc. All rights reserved

Send Feedback