HSDK Class Descriptions › CaCheckin › bool SetCheckinMode(HINT32 iMode)
bool SetCheckinMode(HINT32 iMode)
Sets the Checkin Mode for this process.
Note: The following are the allowable values for the Checkin Mode. They are defined in an include file built into the project.
- HAR_UPDATE_AND_RELEASE-Check in the file and release the lock.
- HAR_UPDATE_AND_KEEP-Check in the file and reserve it again for update.
- HAR_RELEASE_ONLY-Release the lock but do not check in the file.
- Owning Class
-
CaCheckin
- Arguments
-
HINT32 iMode-the Checkin Mode
- Return Value
-
True if success, false if fail
Example
CaCheckin& rCheckin = rContext.GetCheckin();
bool bResult = rCheckin. SetCheckinMode(HAR_UPDATE_AND_RELEASE);
More information:
HSDK Programming Fundamentals
CaContext
HINT32 GetCheckinMode(void)
|
Copyright © 2013 CA.
All rights reserved.
|
|