IXFeed::Ttl Method

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

Syntax

HRESULT Ttl(
    UINT *puiTtl
);

Parameters

  • puiTtl
    [out] Pointer to an integer variable 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 return 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.