Previous Topic: bool SetItemOption(HINT32 iOption)

Next Topic: bool SetViewPath(LPCTSTR szVPath)


bool SetClientDir(LPCTSTR szCDir)

Sets the Client Directory anchor for this process.

Note: This method is valid for file list checkin only; version list checkin does not use this method. If the checkin is from a remote machine, this directory is from the remote machine. (CA Harvest SCM stores the host location at checkout and uses these stored values for the version checkin. Version checkin may span many direcories and remote machines and therefore cannot be driven by the SetClientDir location.)

Owning Class

CaCheckin

Arguments

LPCTSTR szCDir-a valid directory

Return Value

True if success, false if fail

Example

CaCheckin& rCheckin = rContext.GetCheckin(); bool bResult = rCheckin.SetClientDir(“c:\temp\work”);

More information:

HSDK Programming Fundamentals

CaContext

LPCTSTR GetClientDir(void)

void SetRemoteMachineName(LPCTSTR szRemoteMachineName)

bool SetViewPath(LPCTSTR szVPath)

bool SetPathOption(HINT32 iOption)