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

AF SDK Reference

AFDatabase.IsDirty Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFDatabase.IsDirty Property
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: Boolean
Returns 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.

Version Information

AFSDK


See Also

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