OPCAE.NET Reference Manual
GetReturnedAttributes Method
See Also  Send Feedback
OPCAE.NET Namespace > EventSubscriptionMgt Class : GetReturnedAttributes Method

EventCategory
The specific event category for which to retrieve the list of attributes.
AttributeIDs
The list IDs of the attributes which are currently specified to be returned with event notifications for the event type and event category specified.

Glossary Item Box

For each Event Category, GetReturnedAttributes retrieves the attributes which are currently specified to be returned with event notifications in the IOPCEventSink::OnEvent callback. All retrieved attributes have been specified by previous calls to SelectReturnedAttributes.

Syntax

Visual Basic (Declaration) 
Public Function GetReturnedAttributes( _
   ByVal EventCategory As Integer, _
   ByRef AttributeIDs As Integer() _
) As Integer
C# 
public int GetReturnedAttributes( 
   int EventCategory,
   out int[] AttributeIDs
)

Parameters

EventCategory
The specific event category for which to retrieve the list of attributes.
AttributeIDs
The list IDs of the attributes which are currently specified to be returned with event notifications for the event type and event category specified.

Return Value

HRESULTS error/success code.

Requirements

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

See Also

© 2002-2018 Advosol Inc. All Rights Reserved.