共用方式為


IFeedsManager::DefaultInterval Property

Gets or sets the default update interval for feeds.

Syntax

HRESULT IFeedsManager::get_DefaultInterval(LONG *minutes);
HRESULT IFeedsManager::put_DefaultInterval(LONG minutes);

Parameters

  • minutes
    Pointer to a variable of type LONG that receives the length of time, in minutes.
  • minutes
    LONG that specifies the length of time, in minutes.

Return Value

Returns S_OK if successful, or E_INVALIDARG if the value is less than 15.

Remarks

Default interval settings are stored in the registry on a per-user basis.

The mandatory minimum value is 15 minutes. The default value is 24 hours (1440 minutes).

See Also

IFeed::Interval, IFeed::SyncSetting