ItsPubPlugin::GetCacheLastUpdateTime method (tspubplugincom.h)

Returns the time that the cache was last updated. The RemoteApp and Desktop Connection Management service calls this method to determine whether the data in the Remote Desktop Web Access (RD Web Access) cache should be refreshed.

Syntax

HRESULT GetCacheLastUpdateTime(
  [out] unsigned long long *lastUpdateTime
);

Parameters

[out] lastUpdateTime

A pointer to an unsigned long long variable that receives the time that the cache was last updated.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The RemoteApp and Desktop Connection Management service calls this method to get the last time that the cache was refreshed. If your plug-in does not implement caching, return the current system time. This tells the service that it must call GetResourceList to get the current list of resources. We recommend implementing the plug-in with caching because caching reduces the number of calls the service must make to GetResourceList.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header tspubplugincom.h

See also

ItsPubPlugin