OPC Studio User's Guide and Reference
Remove Method (CompositeConnectivity)



OpcLabs.BaseLibComponents Assembly > OpcLabs.BaseLib.Connectivity Namespace > CompositeConnectivity Class : Remove Method
The constituent connectivity to be removed.

The value of this parameter cannot be null (Nothing in Visual Basic).

Removes a constituent connectivity from this composed connectivity.
Syntax
'Declaration
 
Public Function Remove( _
   ByVal connectivity As IConnectivity _
) As Boolean
'Usage
 
Dim instance As CompositeConnectivity
Dim connectivity As IConnectivity
Dim value As Boolean
 
value = instance.Remove(connectivity)
public bool Remove( 
   IConnectivity connectivity
)
public:
bool Remove( 
   IConnectivity^ connectivity
) 

Parameters

connectivity
The constituent connectivity to be removed.

The value of this parameter cannot be null (Nothing in Visual Basic).

Return Value

true if the constituent connectivity has been successfully removed; false otherwise.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also