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

AF SDK Reference

Product Family
Current publication
Table of Contents

PIServer.ServerVersion Property

PIServer.ServerVersion Property
Read-only property that contains a string that uniquely identifies the current server version.

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

Syntax

public string ServerVersion { get; }
Public ReadOnly Property ServerVersion As String
	Get

Dim instance As PIServer
Dim value As String

value = instance.ServerVersion
public:
property String^ ServerVersion {
	String^ get ();
}
member ServerVersion : string with get

Property Value

Type: String
A string that uniquely identifies the current server version.

Remarks

The format of the string has five parts with the following format:

<major version>.<minor version>.<revision>.<build number> <label>

For example, '1.2.3.4 Beta' indicates 1 as the major version, 2 as the minor version, 3 as the revision, 4 as the build number, and Beta as the label.

Important note Important
If the Server has not been connected to, this property will return an empty string.

Version Information

AFSDK

Supported in: 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, 2.7.5, 2.7, 2.6, 2.5

See Also

Was this topic helpful?