...
Code Block | ||||
---|---|---|---|---|
| ||||
EdmiError edmiRemoteDeleteXMLConfiguration (SdaiServerContext serverContextId,
SdaiString schemaName,
SdaiString xmlConfigurationName,
SdaiInvocationId *edmiInvocationId);
|
Deletes an XML Configuration, identified by its configuration name and the name of its
...
associated Express Schema, in a remote EDMdatabase
...
Arguments
...
Type | Name | Comment |
serverContextId | Context identification, from edmiDefineServerContext | |
schemaName | The name of the Express Schema assosiated associated with the XML Configuration to delete. | |
xmlConfigurationName | The name of the XML Configuration to delete. This is the string specified by the <configuration <configuration id=". . . tag in the XML Configuration. | |
edmiInvocationId | Currently unused. |
...
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
int i; EdmiError rstat; SdaiServerContext myContext; SdaiInstance *pConfigIds, configId; SdaiString *pConfigNames, configString; SdaiInteger nConfig; SdaiString nameSpace, nameSpaceAlias, xmlSchemaURL; /* Create Server Context */ rstat = edmiDefineServerContext("MyContext", |
...
"Johnny", "Supervisor", "cf37ftr", |
...
"TCP", "9090", "MyServerHost", |
...
NULL, NULL, NULL, NULL, NULL, &myContext); |
...
/* Get all xml configurations */ |
...
rstat = edmiRemoteListXMLConfigurations(myContext,"IFC2X2_FINAL", |
...
&pConfigIds, &pConfigNames, &nConfig, NULL); |
...
/* Delete them one by one */ |
...
for (i=0; i<nConfig; i++) { |
...
rstat = edmiRemoteGetXMLConfiguration(myContext, |
...
"IFC2X2_FINAL", pConfigNames[i], |
...
&configId, &configString, &nameSpace, |
...
&nameSpaceAlias, &xmlSchemaURL, NULL); |
...
printf("\nDeleting Configuration %s", nameSpaceAlias); |
...
rstat = edmiRemoteDeleteXMLConfiguration(myContext, "IFC2X2_FINAL", |
...
pConfigNames[i], NULL); |
...
}
. . . |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|