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

AF SDK Reference

AFDatabase.UndoCheckOut Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFDatabase.UndoCheckOut Method
Rolls back all the changes to the database since the last call to the CheckOut method of each object. Any changes since the check out will be lost.

Namespace:  OSIsoft.AF
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 AFDatabase
Dim force As Boolean

instance.UndoCheckOut(force)
public:
void UndoCheckOut(
	bool force
)
member UndoCheckOut : 
        force : bool -> unit 

Parameters

force
Type: SystemBoolean
If this parameter is , then the check out is undone even if the objects have been checked out by another user. If , then the check out will only be undone for the objects that have been checked out by the user.

Events

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

Remarks

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
Related Links
TitleResults for “How to create a CRG?”Also Available in