HSDK Class Descriptions › CaCheckin › bool SetPathOption(HINT32 iOption)
bool SetPathOption(HINT32 iOption)
Sets the Path Option for this process. Files are checked into the repository in locations related to the view path, client directory, and the path option.
Note: The following are the allowable values for the Path Option. They are defined in an include file built into the project.
- CI_OPTION_PRESERVE_DIR-Check in each new version to its existing view path location that mirrors the location in the client path.
- CI_OPTION_PRESERVE_AND_CREATE_PATH-Check in each new version to its view path location that mirrors the location in the client path and create the view path if it does not yet exist.
- CI_OPTION_ALL_FILE_TO_SAME_PATH-Check in each new version to the single view path location specified.
- Owning Class
-
CaCheckin
- Arguments
-
HINT32 iOption-the Path Option
- Return Value
-
True if success, false if fail
Example
CaCheckin& rCheckin = rContext.GetCheckin(); bool bResult = rCheckin.SetPathOption (CI_OPTION_PRESERVE_AND_CREATE_PATH);
More information:
HSDK Programming Fundamentals
CaContext
HINT32 GetPathOption(void)
bool SetClientDir(LPCTSTR szCDir)
bool SetViewPath(LPCTSTR szVPath)
|
Copyright © 2013 CA.
All rights reserved.
|
|