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

AF SDK Reference

AFAttribute.ServerTimeZone Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAttribute.ServerTimeZone Property
Gets the current time zone of the server associated with this AFAttribute.

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

Syntax

public AFTimeZone ServerTimeZone { get; }
Public ReadOnly Property ServerTimeZone As AFTimeZone
	Get

Dim instance As AFAttribute
Dim value As AFTimeZone

value = instance.ServerTimeZone
public:
virtual property AFTimeZone^ ServerTimeZone {
	AFTimeZone^ get () sealed;
}
abstract ServerTimeZone : AFTimeZone with get
override ServerTimeZone : AFTimeZone with get

Property Value

Type: AFTimeZone
Returns the current time zone of the server associated with this AFAttribute.

Implements

IAFTimeSourceServerTimeZone

Remarks

If this attribute has a DataReferencePlugIn configured, then the DataReference will return the current time zone of the server associated with the DataReference. When a DataReferencePlugIn is not configured, then the current time zone of the PI AF Server (see PISystem.ServerTimeZone) is returned.

Version Information

AFSDK


See Also

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