The following constants define the maximum lengths of various string types in the Essbase VB API and must be used for variable declarations in a VB application:
| Constant | Definition |
|---|---|
| ESB_USERNAMELEN | Maximum length of a user or group name |
| ESB_PASSWORDLEN | Maximum length of a user password |
| ESB_SVRNAMELEN | Maximum length of a server name |
| ESB_APPNAMELEN | Maximum length of an application name |
| ESB_DBNAMELEN | Maximum length of a database name |
| ESB_OBJNAMELEN | Maximum length of an object name |
| ESB_MBRNAMELEN | Maximum length of a member name |
| ESB_FTRNAMELEN | Maximum length of a filter name |
| ESB_ALIASNAMELEN | Maximum length of an alias table name |
| ESB_PATHLEN | Maximum length of a file path name |
| ESB_LINELEN | Maximum length of a line in a report |
| ESB_DESCLEN | Maximum length of application or database description |