QuickOPC User's Guide and Reference
MajorVersionTime Property (UAConfigurationVersion)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UAConfigurationVersion Class : MajorVersionTime Property
Reflects the time of the last major change of the dataset content.
Syntax
'Declaration
 
<DefaultValueAttribute(0)>
Public Property MajorVersionTime As Long
'Usage
 
Dim instance As UAConfigurationVersion
Dim value As Long
 
instance.MajorVersionTime = value
 
value = instance.MajorVersionTime
[DefaultValue(0)]
public long MajorVersionTime {get; set;}
[DefaultValue(0)]
public:
property int64 MajorVersionTime {
   int64 get();
   void set (    int64 value);
}
Remarks

To assure interoperability, the subscriber has to use dataset metadata for decoding with a major version that matches the major version in dataset messages sent by the publisher.

Removing fields from the dataset content, reordering fields, adding fields in between other fields or a data type change in fields results in an update of the major version.

If at least one property value of a dataset metadata field changes, the major version is updated.

There can be situations where older configurations of a publisher are loaded and changed with product specific configuration tools. In this case the major version is updated if the configuration tool is not able to verify if the change only extends the configuration and does not change the existing content.

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