Previous Topic: SetCheckinMode Method

Next Topic: SetItemOption Method


SetPathOption MethodCaCheckin

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.

Syntax

object.SetPathOption(lngOption)

Owning Class

CaWCheckin

Arguments

lngOption - A long that represents the Path Option.

Return Value

Returns True if success, False if fail.

Notes

The following are the allowable values for the Path Option.

0

Checkin each new version to its existing view path location that mirrors the location in the client path.

1

Checkin 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.

2

Checkin each new version to the single view path location specified.

Example

Dim objCheckin
Set objCheckin = objContext.GetCheckin()
blnRet = objCheckin.SetPathOption(CI_OPTION_PRESERVE_AND_CREATE_PATH)

More information: