SAWVSDK::checkInFiles
Description
Checks in multiple local files.
Syntax
int checkInFiles(
StringArray strAryFileToCheckIn,
StringArray strAryLocalFile,
String bKeep Checkout,
String strComment,
int iEnumEOL,
int iEnumSetLocalFileTime,
int iEnumCheckinUnchangedFileHandling,
boolean
bUseReadonlyForFileNotCheckedOut,
boolean bRemoveLocalCopy,
BaseDataObject bdobCandeled,
BaseDataObject bdostrError,
ResultArray aryResult
);
Parameters
strAryFileToCheckIn
[in] Specifies the names of files to be checked in.
strAryLocalFile
[in] Specifies the names of local files to be checked in.
bKeep Checkout
[in] Specifies whether to keep files checked out to you.
strComment
[in] Specifies the comment for the check-in.
iEnumEOL
[in] Specifies which end-of-line terminator is to be used.
iEnumSetLocalFileTime
[in] Specifies the type of time to be assigned to local files.
iEnumCheckinUnchangedFileHandling
[in] Specifies how to handle the unchanged files, checking in or undoing
checkout.
bUseReadonlyForFileNotCheckedOut
[in] Specifies whether to use read-only flag on files that are not checked out.
bRemoveLocalCopy
[in] Specifies whether to remove the local file copies after the project is checked in.
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.
aryResult
[out] Returns the result information set of the operation.
Return Value
If the method succeeds, returns the value of ESAWV_SUCCESS. If the method fails, returns other error codes.
See Also
Note: If the local copies of the files are not modified and the parameter "iEnumCheckinUnchangedFileHandling" is set to the enum "AskCheckinUnchangedFile", the method "PromptCheckinOrUndoUnchangedFile()" will be triggered.