SAWVSDK::getFileHistory

Description

Retrieves history information of a file.

Syntax

int getFileHistory(
        String strFile,
        BaseDataObject bdobPinned,
        FileHistoryInfoArray aryFileHistoryInfo,
        String strUser,
        Calendar dateFrom,
        Calendar dateTo,
        BaseDataObject bdobCanceled,
        BaseDataObject bdostrError
);

Parameters

strFile
[in] Specifies the name of the file.

bdobPinned
[out] Returns whether the file is pinned.

aryFileHistoryInfo
[out] Returns the history information set of the file.

strUser
[in] Specifies the username used to filter the history report.

dateFrom
[in] Specifies the date/time when the history information to begin at.

dateTo
[in] Specifies the date/time when the history information to end at.

bdobCanceled
[out] If the method fails, returns whether the operation is canceled.

bdostrError
[out] Returns the description of the result. If the operation succeeds, returns 'Completed'. If the operation fails, returns the error information.

Return Value

If the method succeeds, returns the value of ESAWV_SUCCESS. If the method fails, returns other error codes.