QuickOPC User's Guide and Reference
MaxClientAge Property (EasyAEEngineParameters)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents.Engine Namespace > EasyAEEngineParameters Class : MaxClientAge Property
Maximum client age. Number of milliseconds. When the engine recognizes that there is a connection to some OPC server that is unused for this period of time or longer, it will disconnect from it.
Syntax
'Declaration
 
<DataMemberAttribute()>
<DefaultValueAttribute(5000)>
Public Property MaxClientAge As Integer
'Usage
 
Dim instance As EasyAEEngineParameters
Dim value As Integer
 
instance.MaxClientAge = value
 
value = instance.MaxClientAge
[DataMember()]
[DefaultValue(5000)]
public int MaxClientAge {get; set;}
[DataMember()]
[DefaultValue(5000)]
public:
property int MaxClientAge {
   int get();
   void set (    int value);
}
Remarks

The value must be greater than or equal to zero, or it must be equal to System.Threading.Timeout.Infinite.

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