EdmiError edmiRemoteActivateModel (SdaiServerContext serverContextId, SdaiString remoteArchivedModelName, SdaiRepository remoteRepositoryName, SdaiString remoteModelName, SdaiOptions options, SdaiModel *modelId SdaiInvocationId *edmiInvocationId);
Makes the EDMserver activate an archived model in a remote EDMdatabase. There is a maximum number of models that may be simultaneously active within an EDMdatabase. Databases that need to store great numbers of models may exceed this capacity. To solve this, models may be temporarily archived, thereby releasing capacity in the EDMdatabase. Models that are rarely used need not be permanently active in the EDMdatabase. For an EDMuser to activate a model, he needs at least read access to it.
Arguments
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_a_serverContextId'.
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_a_remoteArchivedModelName'.
Error rendering macro 'excerpt-include' : No link could be created for 'US:_a_remoteRepositoryName'.
Error rendering macro 'excerpt-include' : No link could be created for 'US:_a_remoteModelName'.
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_a_options_EDMI'.
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_a_modelId_EDMI'.
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_a_edmiInvocationId'.
Return Value
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.
Options
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_o_SKIP_STEP_ID_MODEL'.
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_o_RESTORE_MODEL_ADMIN_DATA'.
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_o_KEEP_ARCHIVED_MODEL'.
Example
EdmiError rstat; SdaiServerContext myContext; SdaiModel modelId; SdaiArchivedModel archModId; SdaiInstance instId; /* Create Server Context */ rstat = edmiDefineServerContext("MyContext", "Johnny", "Supervisor", "cf37ftr", "TCP", "9090", "MyServerHost", NULL, NULL, NULL, NULL, NULL, &myContext); /* Activate the model */ rstat = edmiRemoteActivateModel(myContext, "MyArchivedModel", "DataRepository", "MyModel", 0, &modelId, NULL); /* Update the population */ rstat = edmiRemoteCreateInstanceAndPutAttrsBN(myContext, "DataRepository", "MyModel", "FRIEND", 2, &instId, NULL, "FIRST_NAME", sdaiSTRING, "Lucy", "LAST_NAME", sdaiSTRING, "Schmidt"); /* Rearchive the model */ rstat = edmiRemoteArchiveModel(myContext, "DataRepository", "MyModel", "MyArchivedModel", 0, &archModId, NULL); . . .
See also
Filter by label
There are no items with the selected labels at this time.