AFDatabase.IsDirty Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Indicates whether there are objects in the AFDatabase that
have been modified since the last save in to persistent storage.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public bool IsDirty { get; }
Public ReadOnly Property IsDirty As Boolean Get Dim instance As AFDatabase Dim value As Boolean value = instance.IsDirty
public: property bool IsDirty { bool get (); }
member IsDirty : bool with get
Property Value
Type: BooleanReturns if any objects in the AFDatabase have been modified and have not been saved to persistent storage. Returns if there are no objects waiting to be saved to persistent storage.
Remarks
An object is saved to persistent storage by calling the
IAFTransactable.CheckIn or
IAFTransactable.ApplyChanges
method on the object. All objects in the database can be saved to persistent
storage by calling one of the AFDatabaseCheckIn or
AFDatabaseApplyChanges methods on the AFDatabase.