Category Windchill servers, Object ProServer

Function ProServerIsOnline


Description
Checks if specified server is online or offline.
Synopsis
#include <ProWTUtils.h>
ProErrorProServerIsOnline(
wchar_t* serverAlias
/* (In)
The name used by Creo Parametric to refer to this server.
*/
ProBoolean* is_online
/* (Out)
PRO_B_TRUE if server is online, PRO_B_FALSE if server is offline.
*/
)
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 occurs.

Manual References:

  1. Data Management: Windchill Operations: Accessing Information From a Registered Server