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

AF SDK Reference

AFConnectionInfo.TimeOut Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFConnectionInfo.TimeOut Property
Read/write property that is the connection timeout used to connect to the PI AF Server for this PISystem on the remote host.

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

Syntax

public TimeSpan TimeOut { get; set; }
Public Property TimeOut As TimeSpan
	Get
	Set

Dim instance As AFConnectionInfo
Dim value As TimeSpan

value = instance.TimeOut

instance.TimeOut = value
public:
property TimeSpan TimeOut {
	TimeSpan get ();
	void set (TimeSpan value);
}
member TimeOut : TimeSpan with get, set

Property Value

Type: TimeSpan
The connection timeout used to connect to the PI AF Server for this PISystem on the remote host. Specify Zero to disable the timeout.
Important note Important
This property can only be modified when disconnected from the PI AF Server.

Remarks

If the PISystem is part of a AFCollective, then this property can only be modified by editing the AFCollectiveMember settings.

Version Information

AFSDK


See Also

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