Sets the Checkout Mode for this process.
object.SetCheckoutMode(lngCheckoutMode)
CaWCheckout
lngCheckoutMode - A long that represents the Checkout Mode.
A boolean. True if success, False if fail.
The following are the allowable values for the Checkout Mode.
Checkout the versions for read only. No lock is set.
Checkout the versions for reserve.
Reserve the versions but do not write them to the file system. Set a lock.
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.
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:
| Copyright © 2013 CA. All rights reserved. |
|