Open this page in the API Guide

IFileSystemService.AddToMostRecentlyUsed Method

Adds the specified entry to the most-recently-used list for the caller's account.

Namespace:  Dundas.BI.FileSystem
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
bool AddToMostRecentlyUsed(
	Guid entryId
)

Parameters

entryId
Type: System.Guid
The ID of the entry.

Return Value

Type: Boolean
true if the item was successfully added to the list; otherwise, false.
Exceptions
ExceptionCondition
ArgumentExceptionentryId is Empty.
InvalidSessionExceptionThe caller context is not associated with a valid session.
Remarks

This method may return false if an entry with the specified ID was not found.

If the item is already on the most-recently-used list, its last-access time will be updated.

If, after adding an entry to the list, the number of items in the list (for the caller's account) is greater than FileSystemMostRecentlyUsedListMaxSize, the oldest entries are trimmed from the list.

See Also