OPC Studio User's Guide and Reference
FromResourceAddress Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UAPubSubConnectionDescriptor Class : FromResourceAddress Method
Network address information in the form of a resource descriptor (can be represented as URL string).
Converts a resource address to a PubSub connection descriptor.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function FromResourceAddress( _
   ByVal resourceAddress As ResourceAddress _
) As UAPubSubConnectionDescriptor
'Usage
 
Dim resourceAddress As ResourceAddress
Dim value As UAPubSubConnectionDescriptor
 
value = UAPubSubConnectionDescriptor.FromResourceAddress(resourceAddress)
[NotNull()]
public static UAPubSubConnectionDescriptor FromResourceAddress( 
   ResourceAddress resourceAddress
)
[NotNull()]
public:
static UAPubSubConnectionDescriptor^ FromResourceAddress( 
   ResourceAddress^ resourceAddress
) 

Parameters

resourceAddress
Network address information in the form of a resource descriptor (can be represented as URL string).

Return Value

Returns a PubSub connection descriptor for connection to the resource specified by resourceAddress.
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