Category Windchill servers, Object ProServer

Function ProServerLocationGet


Description
Gets the codebase url for a given server.
Replacement in Object TOOLKIT: pfcServerLocation::Location
pfcBaseSession::GetServerByAlias
Synopsis
#include <ProWTUtils.h>
ProErrorProServerLocationGet(
wchar_t* alias
/* (In)
The name used by Creo Parametric to refer to this server.
*/
wchar_t** location
/* (Out)
The root location for the server. Free this string using ProWstringFree().
*/
)
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: Accessing Information From a Registered Server
  2. Data Management: Windchill Operations: Accessing Information From a Registered Server