AFGlobalSettings.PISystemProxyMaxParallelCalls Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static int PISystemProxyMaxParallelCalls { get; set; }
Public Shared Property PISystemProxyMaxParallelCalls As Integer Get Set Dim value As Integer value = AFGlobalSettings.PISystemProxyMaxParallelCalls AFGlobalSettings.PISystemProxyMaxParallelCalls = value
public: static property int PISystemProxyMaxParallelCalls { int get (); void set (int value); }
static member PISystemProxyMaxParallelCalls : int with get, set
Property Value
Type: Int32Returns the maximum number of parallel calls that can be made over a connection to the PISystem. The default value is 10.
Remarks
A proxy is used to handle the connection to the PISystem. When connecting to servers of version 2.9.5 or newer, a single proxy is allocated for each user. This proxy is shared between multiple threads to allow remote calls to the server to not block. If the number of requests using this proxy exceeds the maximum, the next request will have to wait for one of those requests to complete. You would want to increase the maximum number of parallel calls if you have many simultaneous remote calls to the server occurring at the same time.
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.