Category Windchill servers, Object ProServer

Function ProServerActivate


Description
Sets the server to be active in session.
Replacement in Object TOOLKIT: pfcServer::Activate
Synopsis
#include <ProWTUtils.h>
ProErrorProServerActivate(
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 was not registered.
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: Registering and Activating a Server
  3. Data Management: Windchill Operations: To Register a Server with an Existing Workspace
  4. Data Management: Windchill Operations: Sample Batch Workflow

Sample Code References:

  1. pt_wc_server ( PTWCServerPopulate.c )