Stops an application on the server.
Syntax
EsbUnloadApplication (hCtx, AppName) ByVal hCtx As Long ByVal AppName As String
Parameter | Description |
---|---|
hCtx | VB API context handle. |
AppName | Name of an application to unload. |
Notes
To unload an application, the connected user must have load access to the application.
An application cannot be unloaded if Essbase Server is restructuring a database associated with the application.
Return Value
None.
Access
This function requires the caller to have Application Load/Unload privilege (ESB_PRIV_APPLOAD) for the specified application.
Example
Declare Function EsbUnloadApplication Lib "ESBAPIN" (ByVal hCtx As Long, ByVal AppName As String) As Long Sub ESB_UnloadApplication () Dim sts As Long Dim AppName As String AppName = "Sample" '***************** ' Unload Application '***************** sts = EsbUnloadApplication (hCtx, AppName) End Sub
See Also