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

AF SDK Reference

AFTime.PITime Property

  • Last UpdatedNov 18, 2025
  • 3 minute read
AFTime.PITime Property

Note: This API is now obsolete.

Returns the time as a PI SDK PITime.

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

Syntax

[ObsoleteAttribute("This property returns a PI SDK COM object which may not be available on all platforms.")]
public Object PITime { get; }
<ObsoleteAttribute("This property returns a PI SDK COM object which may not be available on all platforms.")>
Public ReadOnly Property PITime As Object
	Get

Dim instance As AFTime
Dim value As Object

value = instance.PITime
public:
[ObsoleteAttribute(L"This property returns a PI SDK COM object which may not be available on all platforms.")]
property Object^ PITime {
	Object^ get ();
}
[<ObsoleteAttribute("This property returns a PI SDK COM object which may not be available on all platforms.")>]
member PITime : Object with get

Property Value

Type: Object
Returns the PITime object which corresponds to time represented by this AFTime object. If the actual time is less than the minimum PITime, then the minimum PITime is returned.

Remarks

The method returns a PI SDK COM object. PI SDK may not be available on all platforms. If PI SDK is not installed, this routine will return .

Note Notes to Callers
This method, property, or class is not available in the .NET 8 version of the SDK.

Version Information

AFSDK

Supported in: 2.6, 2.5, 2.4
Obsolete (compiler warning) in 3.1.1
Obsolete (compiler warning) in 3.1.0
Obsolete (compiler warning) in 3.0.2
Obsolete (compiler warning) in 3.0.1
Obsolete (compiler warning) in 3.0.0
Obsolete (compiler warning) in 2.10.11
Obsolete (compiler warning) in 2.10.5
Obsolete (compiler warning) in 2.10.0
Obsolete (compiler warning) in 2.10
Obsolete (compiler warning) in 2.9.5
Obsolete (compiler warning) in 2.9
Obsolete (compiler warning) in 2.8.5
Obsolete (compiler warning) in 2.8
Obsolete (compiler warning) in 2.7.5
Obsolete (compiler warning) in 2.7

See Also

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