EssArchiveEnd() restores the server to "read-write" mode after archiving is complete.
ESS_FUNC_M EssArchiveEnd (hCtx, AppName, DbName);
| ESS_HCTX_T | hCtx |
| ESS_STR_T | AppName |
| ESS_STR_T | DbName |
| hCtx | Essbase API context handle. |
| AppName | Name of archived application. |
| DbName | Name of archived database. |
None.
The caller must have at least read access (ESS_PRIV_READ) to the database, and must select it as the active database using EssSetActive().
ESS_FUNC_M
ESS_ArchiveEnd(ESS_HCTX_T hCtx)
{
ESS_FUNC_M sts = ESS_STS_NOERR;
ESS_STR_T AppName;
ESS_STR_T DbName;
AppName = "Sample";
DbName = "Basic";
/* End Archive */
sts = EssArchiveEnd(hCtx, AppName, DbName);
return (sts);
}