edmiRemoteGetSchemaMap
EdmiError edmiRemoteGetSchemaMap(SdaiServerContext serverContextId, SdaiString schemaMapName, SdaiSchemaMap *schemaMapId, SdaiInvocationId *edmiInvocationId);
Returns the numeric schemaMapID that uniquely identifies a compiled Express-X Mapping Schema in the remote EDMdatabase
Arguments
Type | Name | Comment |
SdaiServerContext | serverContextId | Context identification, from edmiDefineServerContext |
SdaiString | schemaMapName | Specifies the name of Express-X Mapping Schema for which to retrieve its schemaMapId. The Express-X Mapping Schema must be compiled to form an Express-X dictionary model in the remote EDMdatabase Express-X Mapping Schema names are case insensitive and unique within the scope of an EDMdatabase |
SdaiSchemaMap | schemaMapId | A variable that will receive the numeric schemaMapID that uniquely identifies a compiled Express-X Mapping Schema within a remote EDMdatabase |
SdaiInvocationId | edmiInvocationId | Currently not used. |
Return Value
Options
Example
EdmiError rstat; SdaiInteger nErr, nWrn; SdaiServerContext myContext; SdaiSchemaMap schMapId; /* Define Remote Server Context */ rstat = edmiDefineServerContext("MyRemoteServerContext", "Johnny", "Supervisor", "cf37ftr", "TCP", "9090", "MyServerHost", NULL, NULL, NULL, NULL, NULL, &myContext); /* Compile the Express Schema */ rstat = edmiRemoteDefineSchema(myContext, EXPRESS_SCHEMA_TYPE, "c:/data/furniture.exp", "c:/temp/furniture.dia", "Furniture", 0, &nWrn, &nErr, NULL); /* Compile a Mapping Schema */ rstat = edmiRemoteDefineSchema(myContext, EXPRESS_X_SCHEMA_TYPE, "c:/data/furniture_map.xpx", "c:/temp/furniture_map.dia", "Furniture_Map", 0, &nWrn, &nErr, NULL); /* Get the Mapping Schema Id */ rstat = edmiRemoteGetSchemaMap(myContext, "Furniture_Map", &schMapId, NULL); . . .
See also
Filter by label
There are no items with the selected labels at this time.