BenSelect Documentation
FetchByRevision Method
See Also  Send Feedback
Selerix.Foundation.Data Namespace > IHistoryStorage Interface : FetchByRevision Method
type
The type of the part of the object.
revision
The revision of the last commit.
evaluate
Indicates that the last history record value should be evaluated.
evaluatePreviousRevision
Indicates that the history record for the previous revision should be evaluated.
Gets a list of all the object's history records with the given type for the given revision including all previous history records.

Syntax

JScript 
function FetchByRevision( 
   type : HistoryDataTypeMapping,
   revision : Guid,
   evaluate : boolean,
   evaluatePreviousRevision : boolean
) : IList;

Parameters

type
The type of the part of the object.
revision
The revision of the last commit.
evaluate
Indicates that the last history record value should be evaluated.
evaluatePreviousRevision
Indicates that the history record for the previous revision should be evaluated.

Return Value

The list of the object's history records ordered by date.

Exceptions

ExceptionDescription
System.ArgumentExceptionThe exception that is thrown when one of the arguments provided to a method is not valid.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2024 All Rights Reserved.