AFDatabase.FindCheckedOutItems Method (Boolean)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This method finds all the items that are currently checked out in the
AFDatabase.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public IList<IAFTransactable> FindCheckedOutItems( bool checkedOutOnlyToMe )
Public Function FindCheckedOutItems ( checkedOutOnlyToMe As Boolean ) As IList(Of IAFTransactable) Dim instance As AFDatabase Dim checkedOutOnlyToMe As Boolean Dim returnValue As IList(Of IAFTransactable) returnValue = instance.FindCheckedOutItems(checkedOutOnlyToMe)
public: IList<IAFTransactable^>^ FindCheckedOutItems( bool checkedOutOnlyToMe )
member FindCheckedOutItems : checkedOutOnlyToMe : bool -> IList<IAFTransactable>
Parameters
- checkedOutOnlyToMe
- Type: SystemBoolean
If , then the returned list will be restricted to the items that are checked out to the current user in the AFDatabase.
Return Value
Type: IListIAFTransactableReturns a list of IAFTransactable objects that are currently checked out in the AFDatabase.
Remarks
This method is used to find all the items that are currently checked out in the AFDatabase. By specifying the checkedOutOnlyToMe parameter as , then only the items checked out to the current user are returned.
Since the SDK does maintain a list of currently checked out items at the database level, this method will not make a call to the server to obtain the list of checked out items. Call one of the AFDatabaseRefresh methods to update the list with items that may have been checked in or out by another client. The returned list will also include any new objects that have not been saved to the server.