AFGlobalSettings.MaxSaveChangedItems Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The maximum number of items to save to the server at a time.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static int MaxSaveChangedItems { get; set; }
Public Shared Property MaxSaveChangedItems As Integer Get Set Dim value As Integer value = AFGlobalSettings.MaxSaveChangedItems AFGlobalSettings.MaxSaveChangedItems = value
public: static property int MaxSaveChangedItems { int get (); void set (int value); }
static member MaxSaveChangedItems : int with get, set
Property Value
Type: Int32Returns the maximum number of items to save to the server at a time during a system or database ApplyChanges and/or CheckIn. The default value is 200.
Remarks
This setting determines the maximum number of changed items that are saved to the server in a single call. The smaller the number the more remote calls to the server. A larger number will require more memory to transmit the information to the server per call.
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.