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

AF SDK Reference

AFAnalysisTemplate.ApplyChanges Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAnalysisTemplate.ApplyChanges Method
This method applies the changes to the object and makes those changes available to other objects for the current user.

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

Syntax

public void ApplyChanges()
Public Sub ApplyChanges

Dim instance As AFAnalysisTemplate

instance.ApplyChanges()
public:
virtual void ApplyChanges() sealed
abstract ApplyChanges : unit -> unit 
override ApplyChanges : unit -> unit 

Implements

IAFTransactableApplyChanges

Events

Event TypeReason
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.

Version Information

AFSDK


See Also

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