EssArchiveEnd

Description

EssArchiveEnd() restores the server to "read-write" mode after archiving is complete.

Syntax

ESS_FUNC_M EssArchiveEnd (hCtx, AppName, DbName); 
ESS_HCTX_ThCtx
ESS_STR_TAppName
ESS_STR_TDbName

Parameters

hCtxEssbase API context handle.
AppNameName of archived application.
DbNameName of archived database.

Return Value

None.

Notes

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

EssArchiveBegin()
EssRestore()