Category Windchill servers, Object ProServer

Function ProServerObjectsUndocheckout


Description
Undoes the checkout of the given object.
Replacement in Object TOOLKIT: pfcServer::UndoCheckout
Synopsis
#include <ProWTUtils.h>
ProErrorProServerObjectsUndocheckout(
ProMdl mdl
/* (In)
The top level model that was checked out.
*/
ProServerUndoCheckoutConflicts* conflicts
/* (Out)
Information about undo checkoout conflicts. NULL if the error return != PRO_TK_CHECKOUT_CONFLICT. Pass NULL if not interested in conflicts details.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_E_NOT_FOUNDThe top level object was not found.
PRO_TK_BAD_INPUTSOne or more inputs was invalid.
PRO_TK_BAD_CONTEXTThe primary server is not set.
PRO_TK_CHECKOUT_CONFLICTConflicts occurred. Check the details in the conflicts return.

Manual References:

  1. Data Management: Windchill Operations: Undo Checkout