IAFTransactable.ApplyChanges Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This method applies the changes to the object and makes
those changes available to other objects for the current user.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
void ApplyChanges()
Sub ApplyChanges Dim instance As IAFTransactable instance.ApplyChanges()
void ApplyChanges()
abstract ApplyChanges : unit -> unit
Events
| Event Type | Reason |
|---|---|
| IAFChangedEventChanged | This event will be raised for each object updated by this method call. |
Remarks
This method will apply the changes made to an object so that those changes become available to other objects for the current user. The changes will not be available to other users. 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 an element template to allow the changes to be realized in the elements derived from the template. A call to this method is not required before calling CheckIn.
Examples
For an example of various methods of using ApplyChanges and CheckIn, see the
CheckIn Example.