EsbArchiveBegin() prepares the server for archiving by changing server mode to "read-only."
EsbArchiveBegin (hCtx, AppName, DbName, FileName)
ByVal hCtx As Long ByVal AppName As String ByVal DbName As String ByVal FileName As String
hCtx | Essbase API context handle. |
AppName | Name of application to archive. |
DbName | Name of database to archive. |
FileName | Name of file to contain archive information. |
Declare Function EsbArchiveBegin Lib "ESBAPIW" (ByVal hCtx As Long, ByVal AppName As String, ByVal DbName As String, ByVal FileName As String) As LongSub ESB_ArchiveBegin () Dim sts As Long Dim AppName As String Dim DbName As String Dim FileName As String AppName = "Sample" DbName = "Basic" FileName = "Test.arc" sts = EsbArchiveBegin (hCtx, AppName, DbName, FileName) **** At this point, you can back up the server safely.EsbArchiveEnd()