OPC Studio User's Guide and Reference
FromUAPublisherId Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UASubscribeDataSetFilter Class : FromUAPublisherId Method
The publisher Id.

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

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.

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

Return Value

Returns the subscribe dataset filter that only accepts datasets from the specified publisher.

This method can return 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