Previous Topic: SetItemOption Method

Next Topic: SetViewPath Method


SetClientDir Method

Sets the Client Directory anchor for this process.

Syntax

object.SetClientDir(strCDir)

Owning Class

CaWCheckin

Arguments

strCDir - A string that represents a valid directory.

Return Value

Returns True if success, False if fail.

Notes

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 then 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 directories and remote machines and therefore cannot be driven by the SetClientDir location.)

Example

Dim objCheckin
Set objCheckin = objContext.GetCheckin()
BlnRet = objCheckin.SetClientDir(“c:\temp\work”)

More information: