API Documentation > Windchill servers > Object ProServer > Function ProServerWorkspacesCollect
Function ProServerWorkspacesCollect
Description
Gets the list of the workspaces for a given server.
Replacement in Object TOOLKIT:
Synopsis
#include <ProWTUtils.h>
ProServerWorkspacesCollect
(
wchar_t* server
/* (In)
The alias used by Creo Parametric to refer to the server, or the server base URL in http:// format.
*/
/* (Out)
The list of the workspaces for the server. Free this array using ProServerworkspacedataProarrayFree().
*/
)
Returns
The function succeeded.
One or more inputs was invalid.
The server was not registered or couldn't be found at the given location.
The server does not have any workspaces
Server communication error, or user lacks permission to view workspaces on this server.
The server version is not supported
Sample Code References
User Guide References
Was this helpful?