AFDataReference.ServerTimeZone Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Gets the current time zone of the server associated with this AFDataReference.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public virtual AFTimeZone ServerTimeZone { get; }
Public Overridable ReadOnly Property ServerTimeZone As AFTimeZone Get Dim instance As AFDataReference Dim value As AFTimeZone value = instance.ServerTimeZone
public: virtual property AFTimeZone^ ServerTimeZone { AFTimeZone^ get (); }
abstract ServerTimeZone : AFTimeZone with get override ServerTimeZone : AFTimeZone with get
Property Value
Type: AFTimeZoneReturns the current time zone of the server associated with this AFDataReference.
Remarks
If the AFDataReference does not override this property, then the current time zone
of the PI AF Server (see PISystem.ServerTimeZone)
is returned.