Tornado API Library - V12.30.08

GetData.Get_SPOutput Method 

Get Output value of StoredProcedure.

Product Version

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

Parameters

Unit
Target unit - dbUnit
VarName
@VariableName

Return Value

Dim ret as string = GD.Get_SPOutput(Unit, VariableName)

Remarks

See In/Out example of Special Topic - StoredProcedures

Example

Response.Write("Return value @ytd_sales=" & GD.Get_SPOutput("3","@ytd_sales"))

See Also

GetData Class | Tornado Namespace | Special Topic - StoredProcedures | dbStoredProcCmdParams