Share via


IFeed::Ttl Property

Retrieves the time to live (TTL) from the feed.

Syntax

HRESULT IFeed::get_Ttl(LONG *ttl);

Parameters

  • ttl
    Pointer to a variable of type LONG that receives the TTL value, in minutes.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

TTL is an optional feed element. The property value is 0 if not specified in the source.

The TTL value indicates how many minutes a feed should be cached before it is refreshed from the source.