OPC Studio User's Guide and Reference
Retain Property (_UADataSetData)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.ComTypes Namespace > _UADataSetData Interface : Retain Property
Determines whether the dataset message is retained by the server.
Syntax
'Declaration
 
Property Retain As Boolean
'Usage
 
Dim instance As _UADataSetData
Dim value As Boolean
 
instance.Retain = value
 
value = instance.Retain
bool Retain {get; set;}
property bool Retain {
   bool get();
   void set (    bool value);
}

Property Value

The default value of this property is False.

Remarks

If the data consists of multiple parts, the value is true only if all parts are retained. Multiple-part data can appear e.g. with key and delta frames.

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