EsbArchiveEnd

Description

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

Syntax

EsbArchiveEnd (hCtx, AppName, DbName)
ByVal hCtx    As Long
ByVal AppName As String
ByVal DbName  As String

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 (ESB_PRIV_READ) to the database, and must select it as the active database using EsbSetActive().

Example

Declare Function EsbArchiveEnd Lib "ESBAPIW" (ByVal hCtx As Long, ByVal AppName As String, ByVal DbName As String) As LongSub ESB_ArchiveEnd() 
   Dim sts As Long
   Dim AppName As String
   Dim DbName As String
   AppName = "Sample"
   DbName = "Basic"
   '**** Archive End ***
   sts = EsbArchiveEnd (hCtx, AppName, DbName)
End Sub

See Also

EsbArchiveBegin()
EsbRestore()