Previous Topic: bool SetCheckinMode(HINT32 iMode)

Next Topic: bool SetItemOption(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.

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)