Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

PISystem.ApplyChanges Method (IList(IAFTransactable))

PISystem.ApplyChanges Method (IList(IAFTransactable))

  • Last UpdatedNov 18, 2025
  • 2 minute read
PISystem.ApplyChanges Method (IList(IAFTransactable))
This method applies (saves) the changes to the specified modified objects and makes those changes available to other objects.

Namespace:  OSIsoft.AF
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public void ApplyChanges(
	IList<IAFTransactable> objList
)
Public Sub ApplyChanges ( 
	objList As IList(Of IAFTransactable)
)

Dim instance As PISystem
Dim objList As IList(Of IAFTransactable)

instance.ApplyChanges(objList)
public:
void ApplyChanges(
	IList<IAFTransactable^>^ objList
)
member ApplyChanges : 
        objList : IList<IAFTransactable> -> unit 

Parameters

objList
Type: System.Collections.GenericIListIAFTransactable
The list of IAFTransactable objects to be applied (saved) to persistent storage.

Remarks

This method will apply the changes made to the specified modified objects so that those changes become available to other objects. The specified objects can be system and/or database objects. 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.

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.

Examples

For an example of various methods of using ApplyChanges and CheckIn, see the CheckIn Example.

Version Information

AFSDK


See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in