API 文档 > Windchill servers > Object ProServer > Function ProServerContextsCollect
Function ProServerContextsCollect
Description
Gets the list of the contexts for a given server.
Replacement in Object TOOLKIT:
Synopsis
#include <ProWTUtils.h>
ProServerContextsCollect
(
wchar_t* server
/* (In)
The alias used by Creo Parametric to refer to the server, or the server base URL in http:// format.
*/
wchar_t*** data
/* (Out)
The list of the contexts for the server. Free this array using ProWstringproarrayFree().
*/
)
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 contexts.
Server communication error, or user lacks permission to view workspaces on this server.
The server version is not supported
这对您有帮助吗?