# EsbClearActive

Description

EsbClearActive() clears the user's current active application and database.

Syntax

    EsbClearActive (hCtx)

    ByVal hCtx As Long

Parameters

hCtx | Essbase VB API context handle.

Return Value

None.

Notes

- This function requires no special privileges.

Example

    Declare Function EsbClearActive Lib "ESBAPIW" (ByVal hCtx As Long) As Long

    Sub ESB_ClearActive ()
       Dim sts As Long

       '*************
       ' Clear Active
       '*************
       sts = EsbClearActive (hCtx)
    End Sub

See Also

EsbGetActive()
EsbSetActive()