This function is used to clear the tracking cache in the SDK.
Assembly: Citrix.SDK.AppDNA (in Citrix.SDK.AppDNA.dll) Version: 18.104.22.168 (22.214.171.124)
public static void ClearCache()
Public Shared Sub ClearCache
Many objects returned by SDK functions are tracked, so that when they are modified using the SDK collections of objects are updated to reflect the changes and notifications are raised to the SDK client code. Calling this function clears the tracking cache. This will have the effect of causing any new data that comes from the AppDNA server to be separated from any previously retrieved data. Modifying the newly retrieved objects will not cause any previously retrieved objects to be kept in a consistent state. However if data has been changed on the server by some other AppDNA client, then calling ClearCache will cause the SDK to retrieve that fresh data as it needs to.