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

AF SDK Reference

PIServer.Supports Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
PIServer.Supports Method
Checks if the specified PIServerFeature feature is supported by the PIServer.

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

Syntax

public bool Supports(
	PIServerFeature feature
)
Public Function Supports ( 
	feature As PIServerFeature
) As Boolean

Dim instance As PIServer
Dim feature As PIServerFeature
Dim returnValue As Boolean

returnValue = instance.Supports(feature)
public:
bool Supports(
	PIServerFeature feature
)
member Supports : 
        feature : PIServerFeature -> bool 

Parameters

feature
Type: OSIsoft.AF.PIPIServerFeature
The feature to check if it is supported by the PIServer.

Return Value

Type: Boolean
Returns if the server supports the specified feature.

Exceptions

ExceptionCondition
ArgumentException The feature is a Negative value or Unspecified.
NotSupportedException The feature value is a Positive value but not in the PIServerFeature enum.

Remarks

The PIServerFeature that are supported by the PIServer are determined by the version of the PI Data Archive and what the server reports that it supports.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9, 2.8.5, 2.8

See Also

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