AFConnectionInfo.IdleTimeout Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Read-only property that is the connection idle timeout used to reset the connection
to the PI AF Server for this PISystem.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public TimeSpan IdleTimeout { get; }
Public ReadOnly Property IdleTimeout As TimeSpan Get Dim instance As AFConnectionInfo Dim value As TimeSpan value = instance.IdleTimeout
public: property TimeSpan IdleTimeout { TimeSpan get (); }
member IdleTimeout : TimeSpan with get
Property Value
Type: TimeSpanIf the connection to the PI AF Server for this PISystem is idle longer than this timeout setting, then the connection will be reset on the next call to the server. A time span of Zero will disable the idle timeout. The default value is eighteen (18) minutes.
Remarks
The value of this property is defined by the idleTimeout application setting
in the server's configuration file.