Get the exit code of the application.
Namespace:
TornadoAssembly: Tornado (in Tornado.dll) Version: 12.6.0.9 (1.0.0.0)
Syntax
| C# |
|---|
public string Get_ReturnCode( string Unit ) |
| Visual Basic (Declaration) |
|---|
Public Function Get_ReturnCode ( _ Unit As String _ ) As String |
Parameters
- Unit
- Type: System..::.String
Target unit - dbUnit
Return Value
Dim ret as string = GD.Get_ReturnCode(Unit)
Remarks
Returns the exit condition of the module. Scan this value and implement appropriate action.
For example, if returncode is TESTBLANKBLANKDB then display a friendly message like -> "No such records found".
- TESTBLANKOK
- TESTBLANKADD
- TESTBLANKBLANKDB
- TESTBLANKBADCONNECTION
- TESTBLANKINVALIDTABLECREATE
- TESTBLANKINVALIDTABLEEXIT
- TESTBLANKERROR
- ADDSUCCESS
- UPDATESUCCESS
- DELETESUCCESS