The main benefit over GetScalarInteger is that it makes sure the value returned is of the correct Enum type.
| Name | Type | Optional | ByRef | Description |
|---|---|---|---|---|
| sqlQuery | String | |||
| returnValue | Object | ByRef | ||
| enumType | Type | The type of Enum. | ||
| defaultValue | Object | Optional | If omitted, a value of 0 is assumed. | |
| autoEscape | Boolean | Optional | If omitted, a value of False is assumed. |
A Boolean value indicating success.