OPC Studio User's Guide and Reference
ToUAPubSubConnectionDescriptor Method (UAPubSubConnectionElement)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UAPubSubConnectionElement Class : ToUAPubSubConnectionDescriptor Method
Converts a PubSub connection element from a configuration to a OpcLabs.EasyOpc.UA.PubSub.UAPubSubConnectionDescriptor.
Syntax
'Declaration
 
Public Function ToUAPubSubConnectionDescriptor() As UAPubSubConnectionDescriptor
'Usage
 
Dim instance As UAPubSubConnectionElement
Dim value As UAPubSubConnectionDescriptor
 
value = instance.ToUAPubSubConnectionDescriptor()
public UAPubSubConnectionDescriptor ToUAPubSubConnectionDescriptor()
public:
UAPubSubConnectionDescriptor^ ToUAPubSubConnectionDescriptor(); 

Return Value

Returns a PubSub connection descriptor that can be used for subscriptions to the OPC publisher.

This method never returns null (Nothing in Visual Basic).

Remarks

In languages that support implicit conversions (such as C# or VB.NET), in many cases you do not have call this method explicitly. When indicated, a call to an available equivalent implicit conversion operator will be created by the compiler automatically.

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