PISystem.FindCheckedOutItems Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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 PISystem 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 PISystem.
Return Value
Type: IListIAFTransactableReturns a list of IAFTransactable objects that are currently checked out in the PISystem.
Remarks
This method is used to find all the items that are currently checked out in the PISystem. This includes AFContact, AFNotificationContactTemplate, and UOMDatabase objects. It does not include any objects checked out under an 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 system level, this method will not make a call to the server to obtain the list of checked out items. Call one of the PISystemRefresh 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.