共用方式為


IFeedsManager::DeleteFeed Method

Deletes a feed.

Syntax

HRESULT DeleteFeed(
    BSTR feedPath
);

Parameters

  • feedPath
    [in] BSTR that specifies the path to the feed.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

When a feed is deleted, its corresponding enclosure folder is also deleted unless it includes files that are marked "read/write". Read-only enclosures are deleted.

See Also

IFeed::Delete, IFeedsManager::DeleteFolder