Programmer's Guide > Interfaces > CMSObject interface > checkout method
  
checkout method
Locks the CMS object for modification. If the CMS_LOCK_FORCE flag is set and the object is locked by another user, the object will be forcibly unlocked if the caller has that right.
The exact semantics of this method are adapter-specific. For example, if a CMS does not support versioning then this may simply "lock" the object to prevent other users from editing it.
checkout( [flags] )
Parameters
intflags
[optional] Specifies the optional flags controlling the checkout. The value is determined through a bit-wise OR of CMSLockFlags constants.
Returns
CMSObject. This object, or possibly a new CMSObject representing the working copy.
Throws
CMSException
Raised for any error.