Click or drag to resize
OSIsoft, LLC

PIServerUniqueID Property

Read-only property that provides the PIServer's unique identifier as a String.

Namespace:  OSIsoft.AF.PI
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.8.440
Syntax
public override string UniqueID { get; }

Property Value

Type: String
The PIServer's unique identifier as a String.
Remarks
Normally this is the PIServer's ID property returned as a String. A PIServer can be configured to return an integer as its unique identifier. In this configuration, the ID property will return the integer identifier in Guid format and this property will return the identifier as configured in the PIServer. If the PIServer has never been connected and thus the UniqueID is not known, this will return an empty string.
Version Information

AFSDK

Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6, 2.5
See Also
Enabling Operational Intelligence