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

AF SDK Reference

IAFTimeSource Interface

  • Last UpdatedNov 18, 2025
  • 2 minute read
IAFTimeSource Interface
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

  NameDescription
Public property
ID
Read-only property that provides a unique identifier for the time source object.
Public property
Name
This property defines the name that identifies the time source object.
Public property
ServerTime
Gets the current time of the server associated with the object implementing this interface.
Public property
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.

Version Information

AFSDK


See Also

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