Restores the server to "read-write" mode after archiving is complete.
Syntax
ESS_FUNC_M EssArchiveEnd (hCtx, AppName, DbName);
| Parameter | Data Type | Description |
|---|---|---|
hCtx | ESS_HCTX_T | API context handle. |
AppName | ESS_STR_T | Name of archived application. |
DbName | ESS_STR_T | Name of archived database. |
Notes
After calling EssArchiveBegin(), a call to EssArchiveEnd() is required to restore Read-Write mode.
Return Value
None.
Access
The caller must have at least read access (ESS_PRIV_READ) to the database, and must select it as the active database using EssSetActive().
Example
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);
}See Also