RemoteDataAdapter.RemoteCommandResult

Overview

The class wraps the result of a remote command call, performed by the data adapter. Using it, you can get the result code, single returned value, check whether the command call return output parameters and optain these parameters if available.

Instances of the class will be created internally in data adapter on executeCommand method call.

Location

Properties


OutputParameters

 

property OutputParameters: List<DataParameter> read;

 

List<DataParameter> OutputParameters { __get; }

ResultCode

 

property ResultCode: Integer read write;

 

Integer ResultCode { __get; __set; }

Instance Methods


getOutputValue

Returns the value of output parameter by its name. Returns null if there's no parameter with the given name.

 

method getOutputValue(aName: String): Object

 

Object getOutputValue(String aName)

Parameters:

  • aName: Parameter's name.

hasOutputParameters

Check whether the result has some ouptuo parameters after command call.

 

method hasOutputParameters: Boolean

 

Boolean hasOutputParameters()