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

AF SDK Reference

PIServer.ConnectChanged Event

  • Last UpdatedNov 18, 2025
  • 2 minute read
PIServer.ConnectChanged Event
Occurs when the connection status of this PIServer changes.

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

Syntax

public event EventHandler ConnectChanged
Public Event ConnectChanged As EventHandler

Dim instance As PIServer
Dim handler As EventHandler

AddHandler instance.ConnectChanged, handler
public:
 event EventHandler^ ConnectChanged {
	void add (EventHandler^ value);
	void remove (EventHandler^ value);
}
member ConnectChanged : IEvent<EventHandler,
    EventArgs>

Value

Type: SystemEventHandler

Examples

For an example of how to handle events, see Event Example.

Version Information

AFSDK


See Also

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