OPC Studio User's Guide and Reference
AssumeTopicTree Property (_UADataSetSubscriptionDescriptor)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.ComTypes Namespace > _UADataSetSubscriptionDescriptor Interface : AssumeTopicTree Property
Determines whether the (standard) topic tree will forcibly be used.
Syntax
'Declaration
 
Property AssumeTopicTree As Boolean
'Usage
 
Dim instance As _UADataSetSubscriptionDescriptor
Dim value As Boolean
 
instance.AssumeTopicTree = value
 
value = instance.AssumeTopicTree
bool AssumeTopicTree {get; set;}
property bool AssumeTopicTree {
   bool get();
   void set (    bool value);
}

Property Value

The default value of this property is False.

Remarks

Using the topic tree has two major effects:

When all queue names (such as OpcLabs.EasyOpc.UA.PubSub.Configuration.UABrokerDataSetReaderTransportParameters.QueueName and OpcLabs.EasyOpc.UA.PubSub.Configuration.UABrokerDataSetReaderTransportParameters.MetaDataQueueName) are unspecified (empty strings, which are the default), and the EffectiveTransportProfileUriString in the ConnectionDescriptor is for transport that uses the topic tree (such as MQTT), the EffectiveAssumeTopicTree becomes true, and you do not have to set AssumeTopicTree to true explicitly in order for the topic tree to be assumed.

CAUTION: With the topic tree (AssumeTopicTree set to true), do not set the queue names by setting values of OpcLabs.EasyOpc.UA.PubSub.Configuration.UABrokerDataSetReaderTransportParameters.QueueName or OpcLabs.EasyOpc.UA.PubSub.Configuration.UABrokerDataSetReaderTransportParameters.MetaDataQueueName, except in very special circumstances. Leave the queue names at their default values, i.e. empty strings. Setting queue names can interfere negatively with the built-in mechanism that determines the proper topic filters.

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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