EsbLogSize

Returns the size of the Essbase Server log file (essbase.log), or of the application log file (appname.log).

Syntax

Declare Function EsbLogSize Lib "esbapin" (
ByVal hCtx As Long,
ByVal isAgentLog As Integer,
ByVal AppName As String,
      pulLogSize As Long) As Long
ParameterDescription

hCtx

API context handle.

isAgentLog

If TRUE, the size of the Essbase Server log file (essbase.log) is returned. If FALSE, the size of the application log file (appname.log) is returned.

AppName

Application name.

pulLogSize

Size of log file returned.

Notes

Return Value

Returns a zero if successful.

Access

This function does not require the caller to have access privileges.