API 설명서 > Windchill servers > Object ProServer > Function ProServerObjectsCheckin
Function ProServerObjectsCheckin
Description
Checks in or uploads objects to the database.
NOTE: The model must be saved to the workspace (using ProMdlSave() before it can be checked in or uploaded. This function does not save the model by default.
NOTE:This function checks in the target objects by default. To upload only use ProServercheckinoptsUploadonlySet().
Replacement in Object TOOLKIT:
Synopsis
#include <ProWTUtils.h>
ProServerObjectsCheckin
(
ProMdl mdl
/* (In)
The top level model to checkin or upload. Can be NULL (to check in or upload the entire workspace).
*/
/* (In)
An opaque handle to checkin or upload options. Pass NULL for a default checkin (as per Creo Parametric's Checkin button in the File menu).
*/
/* (Out)
Information about checkin or upload conflicts. NULL if the error return != PRO_TK_CHECKOUT_CONFLICT. Pass NULL if not interested in conflicts details.
*/
)
Returns
The function succeeded.
One or more inputs was invalid.
The primary server is not set and/or Design Test Mode
is active
the function is not available in this mode.
Conflicts occurred. Check the details in the conflicts return.
The function does not have permission to operate on this model.
See Also
Sample Code References
User Guide References
도움이 되셨나요?