Previous Topic: RemotePassword Property

Next Topic: SetPathOption Method


SetCheckoutMode Method

Sets the Checkout Mode for this process.

Syntax

object.SetCheckoutMode(lngCheckoutMode)

Owning Class

CaWCheckout

Arguments

lngCheckoutMode - A long that represents the Checkout Mode.

Return Value

A boolean. True if success, False if fail.

Notes

The following are the allowable values for the Checkout Mode.

1

Checkout the versions for read only. No lock is set.

2

Checkout the versions for reserve.

3

Reserve the versions but do not write them to the file system. Set a lock.

4

Checkout selected versions for read only but only if they are newer than the ones previously checked out to the file system. No lock is set.

5

Checkout the versions for concurrent update and still allow other reservations with other packages.

Example

Dim objCheckout
Set objCheckout = objContext.GetCheckout()
BlnRet = objCheckout.SetCheckoutMode(CO_MODE_BROWSE)

More information: