SAWVSDK::pinFile

Description

Pins the specified file.

Syntax

int pinFile(
        String strFileToPin,
        int iVersionNo,
        BaseDataProject bdostrError
);

Parameters

strFileToPin
[in] Specifies the name of file to be pinned.

iVersionNo
[in] Specifies the file version to be pinned.

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.