PIServer.ServerVersion Property
- Last UpdatedSep 18, 2024
- PI System
- AF SDK 2024
- Developer
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: StringA 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.
![]() |
---|
If the Server has not been connected to, this property will return an empty string. |