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

AF SDK Reference

AFGlobalSettings.CacheObjectCleanUpTimeout Property

AFGlobalSettings.CacheObjectCleanUpTimeout Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFGlobalSettings.CacheObjectCleanUpTimeout Property
The timeout to clean up cached objects.

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

Syntax

public static TimeSpan CacheObjectCleanUpTimeout { get; set; }
Public Shared Property CacheObjectCleanUpTimeout As TimeSpan
	Get
	Set

Dim value As TimeSpan

value = AFGlobalSettings.CacheObjectCleanUpTimeout

AFGlobalSettings.CacheObjectCleanUpTimeout = value
public:
static property TimeSpan CacheObjectCleanUpTimeout {
	TimeSpan get ();
	void set (TimeSpan value);
}
static member CacheObjectCleanUpTimeout : TimeSpan with get, set

Property Value

Type: TimeSpan
Returns the timeout used to clean up cached objects in the SDK.

Remarks

When the timeout expires, any cached references to objects that are no longer valid are removed.

The default value for this property is read from the SDK's configuration file in the OSI directory under the CommonApplicationData directory. This default value will be the default for all clients executed on the computer. If this property is modified in the client, then it will only affect the current client and the modified value will not be persisted.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5

See Also

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