Share via


FetchUrlCacheContent Property of the IFPCScheduledContentDownloadConfig Interface

The FetchUrlCacheContent property gets or sets a value from the FpcCacheContent enumerated type that specifies the conditions under which content will be cached.

C++

HRESULT put_FetchUrlCacheContent(
    FpcCacheContent CacheContent
);
HRESULT get_FetchUrlCacheContent(
    FpcCacheContent* pCacheContent
);

Parameters

  • CacheContent
    Value from the FpcCacheContent enumerated type that specifies the conditions under which content will be cached.

  • pCacheContent
    Pointer to a value from the FpcCacheContent enumerated type that is set on return to the value specifying the conditions under which content will be cached.

Return Value

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Visual Basic

Property FetchUrlCacheContent As FpcCacheContent

Property Value

Value from the FpcCacheContent enumerated type that specifies the conditions under which content will be cached.

Remarks

This property is read/write. Its default value is fpcCacheAlways.

The only values from the FpcCacheContent enumerated type that are allowed for this property are fpcCacheAlways, fpcCacheCacheableAndDynamic, and fpcCacheCacheable. Setting this property to fpcNeverCache will result in a run-time error.

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCScheduledContentDownloadConfig

Send comments about this topic to Microsoft

Build date: 6/30/2010