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

AF SDK Reference

PIException.Server Property

  • Last UpdatedNov 18, 2025
  • 1 minute read
PIException.Server Property
The PIServer associated with the current exception.

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

Syntax

public PIServer Server { get; }
Public ReadOnly Property Server As PIServer
	Get

Dim instance As PIException
Dim value As PIServer

value = instance.Server
public:
property PIServer^ Server {
	PIServer^ get ();
}
member Server : PIServer with get

Property Value

Type: PIServer
Returns the PIServer associated with the current exception. May return if the PIServer is not known at the time the exception is created.

Version Information

AFSDK


See Also

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