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

AF SDK Reference

PISystem.EventsEnabled Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
PISystem.EventsEnabled Property
Gets or sets a value indicating if events are enabled for the PISystem.

Namespace:  OSIsoft.AF
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public bool EventsEnabled { get; set; }
Public Property EventsEnabled As Boolean
	Get
	Set

Dim instance As PISystem
Dim value As Boolean

value = instance.EventsEnabled

instance.EventsEnabled = value
public:
property bool EventsEnabled {
	bool get ();
	void set (bool value);
}
member EventsEnabled : bool with get, set

Property Value

Type: Boolean
Returns if events are enabled; otherwise .

Remarks

By default, events are enabled for the PISystem. This allows the Changed event to be raised. If your application is not interested in events or do not want events to be raised for a period of time, then they can be disabled. Disabling events can provide a performance improvement.

Version Information

AFSDK


See Also

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