Category Windchill servers, Object ProServer

Function ProServerWorkspaceCreate


Description
Creates and activates a new workspace.
Replacement in Object TOOLKIT: pfcServer::CreateWorkspace
Synopsis
#include <ProWTUtils.h>
ProErrorProServerWorkspaceCreate(
wchar_t* alias
/* (In)
The server alias. Pass NULL to use the active server.
*/
ProServerWorkspaceData data
/* (In)
Information about the given workspace. Use ProServerworkspacedataAlloc() to construct this.
*/
)
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_E_FOUNDThe workspace already exists.
PRO_TK_CANT_WRITECannot create a workspace on this server.

Manual References:

  1. Data Management: Windchill Operations: Workspace Data
  2. Data Management: Windchill Operations: Creating and Modifying the Workspace
  3. Data Management: Windchill Operations: Creating and Modifying the Workspace
  4. Data Management: Windchill Operations: To Register a Server with a New Workspace