PISystem.ApplyChanges Method
- Last UpdatedNov 18, 2025
- 3 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 void ApplyChanges()
Public Sub ApplyChanges Dim instance As PISystem instance.ApplyChanges()
public: void ApplyChanges()
member ApplyChanges : unit -> unit
Remarks
This is the same as calling ApplyChanges(AFCheckedOutMode) with ObjectsCheckedOutToMe specified as the parameter.
This method will apply the changes made to all system level modified objects so that those changes become available to other applications executing under the same user account. This includes AFContact, AFNotificationContactTemplate, and UOMDatabase objects. It does not include any objects checked out under an AFDatabase. If this PISystem is an AFCollective, then any changes to the Collective will also be saved to the server. This method will not check in those changes. However, once this method has been called, the changes will be available for check in on subsequent invocations of the application for the currently logged in user. This method is useful when making changes to templates to allow the changes to be realized in the objects derived from the template. A call to this method is not required before calling one of the CheckIn Overload methods.
Care should be taken to limit the amount of applied at one time to reasonable amounts. While it is possible to make a significant number of changes at one time, these changes are transferred to the PI AF Server at one time and can thus require significant amounts of memory to complete the operation.