AFGlobalSettings.PISystemProxyDisconnectTimeout Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The amount of time to allow a connection to the PISystem to
be disconnected before timing out.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static TimeSpan PISystemProxyDisconnectTimeout { get; set; }
Public Shared Property PISystemProxyDisconnectTimeout As TimeSpan Get Set Dim value As TimeSpan value = AFGlobalSettings.PISystemProxyDisconnectTimeout AFGlobalSettings.PISystemProxyDisconnectTimeout = value
public: static property TimeSpan PISystemProxyDisconnectTimeout { TimeSpan get (); void set (TimeSpan value); }
static member PISystemProxyDisconnectTimeout : TimeSpan with get, set
Property Value
Type: TimeSpanReturns the amount of time to allow a connection to the PISystem to be disconnected before timing out.
Remarks
When disconnecting from the server and a timeout occurs, a TimeoutException will be generated.
The default value for this property is read from the SDK's configuration file in the OSI directory under the CommonApplicationData directory. This default value will be the default for all clients executed on the computer. If this property is modified in the client, then it will only affect the current client and the modified value will not be persisted.