OPC Studio User's Guide and Reference
UAServerOnNetwork Constructor(UAServerOnNetwork)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery Namespace > UAServerOnNetwork Class > UAServerOnNetwork Constructor : UAServerOnNetwork Constructor(UAServerOnNetwork)
The server on network to be copied from.

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

Initializes a new instance as a copy of an existing server on network object.
Syntax
'Declaration
 
Public Function New( _
   ByVal serverOnNetwork As UAServerOnNetwork _
)
'Usage
 
Dim serverOnNetwork As UAServerOnNetwork
 
Dim instance As New UAServerOnNetwork(serverOnNetwork)
public UAServerOnNetwork( 
   UAServerOnNetwork serverOnNetwork
)
public:
UAServerOnNetwork( 
   UAServerOnNetwork^ serverOnNetwork
)

Parameters

serverOnNetwork
The server on network to be copied from.

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

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