# EsbDeleteLocalContext

Description

EsbDeleteLocalContext() releases a local context previously created by EsbCreateLocalContext().

Syntax

    EsbDeleteLocalContext (hCtx)

    ByVal hCtx As Long

Parameters

hCtx | Essbase VB API local context handle.

Return Value

None.

Notes

- This function should only be used for local contexts. For login contexts, use the EsbLogout() function.

Access

This function requires no special privileges.

Example

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

    Sub ESB_DeleteLocalContext ()
       Dim sts As Long

       '*********************
       ' Delete Local Context
       '*********************
       sts = EsbDeleteLocalContext (hCtx)
    End Sub

See Also

EsbCreateLocalContext()
EsbLogout()
EsbTerm()