OPCHDA.NET Reference Manual
GetAggregates Method
See Also  Send Feedback
OpcHDAWrapperUA.Net4 Assembly > OPCHDA.NET Namespace > OpcHDAServer Class : GetAggregates Method

aggrID
OUT: The aggregate identification index number.
aggrName
OUT: The name of the aggregate.
aggrDesc
OUT: A description of the aggregate.

Glossary Item Box

This synchronous function returns the list of aggregates supported by the server. The OPC defined aggregates are defined in specification section 5.3.3. Vendor specific aggregates also are supported. The vendor supplied aggregates are made available to allow the client to use all the functions available to their specific server. If no aggregates are supported, the function shall return a count of 0 and NULL pointers.

Syntax

Visual Basic (Declaration) 
Public Function GetAggregates( _
   ByRef aggrID As Integer(), _
   ByRef aggrName As String(), _
   ByRef aggrDesc As String() _
) As Integer
C# 
public int GetAggregates( 
   out int[] aggrID,
   out string[] aggrName,
   out string[] aggrDesc
)

Parameters

aggrID
OUT: The aggregate identification index number.
aggrName
OUT: The name of the aggregate.
aggrDesc
OUT: A description of the aggregate.

Return Value

S_OK or E_FAIL

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2008/2012/2016, .NET 4.x

See Also

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