Tornado API Library - V12.30.08

GetData.Get_ReturnCode Method 

Get the exit code of the application.

Product Version

All
[Visual Basic]
Public Function Get_ReturnCode( _
   ByVal Unit As String _
) As String
[C#]
public string Get_ReturnCode(
   string Unit
);

Parameters

Unit
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".

See Also

GetData Class | Tornado Namespace | dbTestBlankTable