Previous Topic: SetCheckoutMode Method

Next Topic: SetReplaceFile Method


SetPathOption Method

Sets the Path Option for this process. Files are checked out to the directory structure in locations related to the view path, client directory, and the path option.

Syntax

object.SetPathOption(lngPathOption)

Owning Class

CaWCheckout

Arguments

lngPathOption - A long that represents the Path Option.

Return Value

A boolean. True if success, False if fail

Notes

The following are the allowable values for the Path Option.

1

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

2

Check out each new version to its client path location that mirrors the location in the view path and create the client path if it does not yet exist.

3

Check out each new version to the single client path location specified.

Example

Dim objCheckout
Set objCheckout = objContext.GetCheckout()
BlnRet = objCheckout.SetPathOption(CO_OPTION_PRESERVE)

More information: