OPC Studio User's Guide and Reference
FromString Method (UAPubSubConnectionDescriptor)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UAPubSubConnectionDescriptor Class : FromString Method
Descriptor string for the PubSub connection resource.
Converts a descriptor string to a PubSub connection descriptor.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function FromString( _
   ByVal resourceDescriptorString As String _
) As UAPubSubConnectionDescriptor
'Usage
 
Dim resourceDescriptorString As String
Dim value As UAPubSubConnectionDescriptor
 
value = UAPubSubConnectionDescriptor.FromString(resourceDescriptorString)
[NotNull()]
public static UAPubSubConnectionDescriptor FromString( 
   string resourceDescriptorString
)
[NotNull()]
public:
static UAPubSubConnectionDescriptor^ FromString( 
   String^ resourceDescriptorString
) 

Parameters

resourceDescriptorString
Descriptor string for the PubSub connection resource.

Return Value

Returns a PubSub connection descriptor for connection to the resource specified by resourceDescriptorString.
Remarks

In most common cases, the descriptor string is simply a resource URL string.

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