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

AF SDK Reference

AFEnumerationSet.UndoCheckOut Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFEnumerationSet.UndoCheckOut Method
This method discards all the changes to the object and all sub-objects since the last call to CheckOut. Any changes since the check out will be lost.

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

Syntax

public void UndoCheckOut(
	bool force
)
Public Sub UndoCheckOut ( 
	force As Boolean
)

Dim instance As AFEnumerationSet
Dim force As Boolean

instance.UndoCheckOut(force)
public:
virtual void UndoCheckOut(
	bool force
) sealed
abstract UndoCheckOut : 
        force : bool -> unit 
override UndoCheckOut : 
        force : bool -> unit 

Parameters

force
Type: SystemBoolean
If this parameter is , then the check out is undone even if the object has been checked out by another user. If , then only the user that checked out the object is allowed to undo the check out.

Implements

IAFTransactableUndoCheckOut(Boolean)

Events

Event TypeReason
IAFChangedEventChanged This event will be raised for each object updated by this method call.

Remarks

All changes since the last call to CheckOut will be discarded including changes previously applied using the ApplyChanges method. A check out can only be undone by the user who currently has the object checked out unless the force parameter is set to .

Version Information

AFSDK


See Also

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