IAFTimeSource Interface
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This interface defines the properties for objects which support a time source.

Namespace: OSIsoft.AF.Time
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public interface IAFTimeSource
Public Interface IAFTimeSource Dim instance As IAFTimeSource
public interface class IAFTimeSource
type IAFTimeSource = interface end
The IAFTimeSource type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| ID |
Read-only property that provides a unique identifier for the time source object.
| |
| Name |
This property defines the name that identifies the time source object.
| |
| ServerTime |
Gets the current time of the server associated with the object implementing this interface.
| |
| ServerTimeZone |
Gets the current time zone of the server associated with the object implementing this interface.
|
Remarks
Objects which support a time source have a ServerTime and ServerTimeZone.
This interface provides a consistent set of properties for objects which support this
time source characteristic.
Time source objects include PISystem, PIServer and
AFAttribute.