OPCAE.NET Reference Manual
GetConditionState Method
See Also  Send Feedback
OPCAE.NET Namespace > OpcEventServer Class : GetConditionState Method

Source
Event source name.
ConditionName
Condition name.
AttributeIDs
List of attribute identifiers.
CondState
Returned current condition state.

Glossary Item Box

Returns the current state information for the condition instance corresponding to the Source and ConditionName. The OPCCONDITIONSTATE structure is defined below. See section 2.4 for a discussion of conditions and their states.

Syntax

Visual Basic (Declaration) 
Public Function GetConditionState( _
   ByVal Source As String, _
   ByVal ConditionName As String, _
   ByVal AttributeIDs() As Integer, _
   ByRef CondState As OPCAE.OPCConditionState _
) As Integer
C# 
public int GetConditionState( 
   string Source,
   string ConditionName,
   int[] AttributeIDs,
   out OPCAE.OPCConditionState CondState
)

Parameters

Source
Event source name.
ConditionName
Condition name.
AttributeIDs
List of attribute identifiers.
CondState
Returned current condition state.

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.