OPC Studio User's Guide and Reference
DataSetClassId Property (_UAUadpDataSetReaderMessageParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration.ComTypes Namespace > _UAUadpDataSetReaderMessageParameters Interface : DataSetClassId Property
Defines a dataset class related filter.
Syntax
'Declaration
 
Property DataSetClassId As Guid
'Usage
 
Dim instance As _UAUadpDataSetReaderMessageParameters
Dim value As Guid
 
instance.DataSetClassId = value
 
value = instance.DataSetClassId
Guid DataSetClassId {get; set;}
property Guid DataSetClassId {
   Guid get();
   void set (    Guid value);
}
Remarks

If the value is System.Guid.Empty, the dataset class Id filter is not applied.

There are two places where data set class ID can be entered: In the OpcLabs.EasyOpc.UA.PubSub.Configuration.UADataSetMetaData.DataSetClassId property of the OpcLabs.EasyOpc.UA.PubSub.Configuration.UADataSetMetaData, and in the DataSetClassId property of the OpcLabs.EasyOpc.UA.PubSub.Configuration.UAUadpDataSetReaderMessageParameters. In the end, setting either one of these to non-empty System.Guid will have the same effect. We recommend that you use the DataSetClassId property of the OpcLabs.EasyOpc.UA.PubSub.UASubscribeDataSetFilter. If you set both these properties to a non-empty System.Guid, make sure you use the same value at both places, otherwise no data set message will pass the filter.

If you have a OpcLabs.EasyOpc.UA.PubSub.UADataSetSubscriptionDescriptor, the two places mentioned above are:

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