User's Guide > Data Management: Windchill Operations > Server Operations > Conflicts During Server Operations
Conflicts During Server Operations
Functions Introduced:
ProServerconflictsDescriptionGet()
ProServerconflictsFree()
Conflict objects are provided to capture the error condition while performing the following server operations using the specified APIs:
Operation
API
Error Object
Checkin an object or workspace
ProServerObjectsCheckin()
ProServerCheckinConflicts
Checkout an object
ProServerObjectsCheckout()
ProServerCheckoutConflicts
Undo checkout of an object
ProServerObjectsUndocheckout()
ProServerUndoCheckoutConflicts
Upload object
ProServerObjectsUpload()
ProServerUploadConflicts
Download object
ProServerObjectsCheckout() (with download as PRO_B_TRUE)
ProServerCheckoutConflicts
Delete workspace
ProServerWorkspaceDelete()
ProServerDeleteConflicts
Remove object
ProServerObjectsRemove()
ProServerRemoveConflicts
These APIs return a common status PRO_TK_CHECKOUT_CONFLICT and a conflict object ProServerConflicts. The conflict object is used to get more details about the error condition.
Use the function ProServerconflictsDescriptionGet() to extract details of the error condition. This description is similar to the description displayed by the Creo Parametric HTML User Interface in the conflict report.
The function ProServerconflictsFree() frees the memory of the conflict structure returned by the functions.
这对您有帮助吗?