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

AF SDK Reference

AFConnectionInfo.Expiration Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFConnectionInfo.Expiration Property
Read-only property that returns the Token Expiration used by OpenID connections to the AF server. For windows connections, this will return DateTime.MinValue. For openId connections, this will return the access token expiration.

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

Syntax

public DateTime Expiration { get; }
Public ReadOnly Property Expiration As DateTime
	Get

Dim instance As AFConnectionInfo
Dim value As DateTime

value = instance.Expiration
public:
property DateTime Expiration {
	DateTime get ();
}
member Expiration : DateTime with get

Property Value

Type: DateTime
Returns a DateTime value indicating the Expiration time of the access token used by the connection or DateTime.MinValue if connected as windows.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0

See Also

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