OPC Studio User's Guide and Reference
FromUAPublisherId Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UASubscribeDataSetFilter Class : FromUAPublisherId Method
The publisher Id.
Converts a publisher Id to a subscribe dataset filter.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Shared Function FromUAPublisherId( _
   ByVal publisherId As UAPublisherId _
) As UASubscribeDataSetFilter
'Usage
 
Dim publisherId As UAPublisherId
Dim value As UASubscribeDataSetFilter
 
value = UASubscribeDataSetFilter.FromUAPublisherId(publisherId)
[CanBeNull()]
public static UASubscribeDataSetFilter FromUAPublisherId( 
   UAPublisherId publisherId
)
[CanBeNull()]
public:
static UASubscribeDataSetFilter^ FromUAPublisherId( 
   UAPublisherId^ publisherId
) 

Parameters

publisherId
The publisher Id.

Return Value

Returns the subscribe dataset filter that only accepts datasets from the specified publisher.
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