OPCDA.NET Reference Manual
RemoveGroup Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > OpcServer Class : RemoveGroup Method

groupObject
Object of the group to be removed
bForce
Forces deletion of the group even if references are outstanding. Usually the method is called with this parameter TRUE.

Glossary Item Box

The specified OPC server group is removed. This method is the same as the RemoveGroup method in the group class and usually the group class method is used. The RemoveGroup is available in the server class because the OPC specification defines it in the server interface.
The RemoveGroup method differs from IOPCServer::RemoveGroup by having a GroupObject reference parameter instead of the OPC server group handle.

Syntax

Visual Basic (Declaration) 
Public Function RemoveGroup( _
   ByVal groupObject As OpcGroup, _
   ByVal bForce As Boolean _
) As Integer
C# 
public int RemoveGroup( 
   OpcGroup groupObject,
   bool bForce
)

Parameters

groupObject
Object of the group to be removed
bForce
Forces deletion of the group even if references are outstanding. Usually the method is called with this parameter TRUE.

Requirements

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

See Also

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