edmiGetServerContextId
EdmiError edmiGetServerContextId(SdaiString serverContextName,
SdaiUnsignedInt *serverContextId);
Returns the unique numeric id of the defined server context with a given name.
Arguments
Type | Name | Comment |
SdaiString | serverContextName | The name of the server context in question. |
SdaiUnsignedInt | *serverContextId | Variable that will receive the unique numeric identificator of a server context with the given name. |
Return Value
Options
Example
EdmiError rstat;
SdaiString contextFile = "c:/data/myServerContexts";
SdaiString contextName = "HTTP_ServerContext";
SdaiUnsignedInt contextId;
. . .
rstat = edmiDefineServerContextsFromFile(contextName,
contextFile, EXACT_MATCH);
rstat = edmiGetServerContextId(contextName, &contextId);
. . .
See also