edmiGetServerContextId

EdmiError edmiGetServerContextId(SdaiString      serverContextName,
                                  SdaiUnsignedInt *serverContextId);

Returns the unique numeric id of the defined server context with a given name.

Arguments


TypeNameComment
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


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

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

Filter by label

There are no items with the selected labels at this time.