Gets the full version number of the connected Essbase Server, in the form Release.Version.Revision, for example, 3.0.0.
Syntax
EsbGetVersion (hCtx, Release, Version, Revision) ByVal hCtx As Long Release As Integer Version As Integer Revision As Integer
Parameter | Description |
---|---|
hCtx | VB API context handle. |
Release | Address of variable to receive release number. |
Version | Address of variable to receive version number. |
Revision | Address of variable to receive revision number. |
Notes
You can call this function after connecting to a server, to ensure that the Essbase Server version supports all the features used by your program.
Return Value
If successful, returns the full incremental Essbase Server version number in pRelease, pVersion and pRevision.
Access
This function requires no special privileges.
Example
Declare Function EsbGetVersion Lib "ESBAPIN" (ByVal hCtx As Long, Release As Integer, Version As Integer, Revision As Integer) As Long Sub ESB_GetVersion () Dim sts As Long Dim Release As Integer Dim Version As Integer Dim Revision As Integer '************ ' Get Version '************ sts = EsbGetVersion (hCtx, Release, Version, Revision) End Sub