Category Windchill servers, Object ProServer

Function ProServerUnregister


Description
Unregisters a given server and cleans a local cache for the server.
Replacement in Object TOOLKIT: pfcServer::Unregister
Synopsis
#include <ProWTUtils.h>
ProErrorProServerUnregister(
wchar_t* alias
/* (In)
The name used by Creo Parametric to refer to this server.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more inputs was invalid.
PRO_TK_E_NOT_FOUNDThe server is not registered.
PRO_TK_CANT_WRITECannot delete this workspace.
PRO_TK_CHECKOUT_CONFLICTThe workspace cannot be deleted due to checked out objects in its contents.
PRO_TK_GENERAL_ERRORIf any other error occures.

Manual References:

  1. Data Management: Windchill Operations: Registering and Activating a Server
  2. Data Management: Windchill Operations: Creating and Modifying the Workspace
  3. Data Management: Windchill Operations: Sample Batch Workflow