OPCDA.NET-UA
SetActiveState(Int32[],Boolean,Int32[]) Method
See Also  Send Feedback
OpcDaNetUaOption.Net4 Assembly > UA_Wrapper Namespace > Group Class : SetActiveState(Int32[],Boolean,Int32[]) Method

arrHSrv
IN: Array with item server handles
activate
IN: new activ state
arrErr

Glossary Item Box

Sets one or more items in a group to active or inactive. This controls whether or not valid data can be obtained from Read CACHE for those items and whether or not they are included in the IAdvise subscription to the group.

Syntax

Visual Basic (Declaration) 
Public Function SetActiveState( _
   ByVal arrHSrv() As Integer, _
   ByVal activate As Boolean, _
   ByRef arrErr As Integer() _
) As Integer
C# 
public int SetActiveState( 
   int[] arrHSrv,
   bool activate,
   out int[] arrErr
)

Parameters

arrHSrv
IN: Array with item server handles
activate
IN: new activ state
arrErr

Return Value

HRESULT success/error code

Requirements

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

See Also

Copyright © 2020 Advosol Inc. All Rights Reserved.