ExecuteSync Method
- Last UpdatedApr 08, 2026
- 1 minute read
Executes the given Business Logic Tier (BLT) component on the host configured for this DALBLTConnection instance.
public bool ExecuteSync(
string componentName,
int maxRowsToReturn,
List<DALBLTParam> bltParamList,
out List<DALBLTParam> bltValueList,
out int rowsAffected,
out DataSet data,
out DALBLTExecutionStatus executionStatus,
out string failureReason
)
public:
bool ExecuteSync(
String^ componentName,
int maxRowsToReturn,
List<DALBLTParam^>^ bltParamList,
[Out] List<DALBLTParam^>^ bltValueList,
[Out] int rowsAffected,
[Out] DataSet^ data,
[Out] DALBLTExecutionStatus executionStatus,
[Out] String^ failureReason
)
Parameters
- componentName
- The component name. The name should be the same format as returned by a call to Browse. The full Component Object Model (COM) name must be specified and not the shortened version used by applications like BLTTestClient (for example, bobjACEAddCode.RPCACEAddCode is used and not ACEAddCode).
- maxRowsToReturn
- The maximum rows to return.
- bltParamList
- The input/output OASySDNA.Common.DAL.BLTCommon.DALBLTParam list.
- bltValueList
- The OASySDNA.Common.DAL.BLTCommon.DALBLTParam list with update output values.
- rowsAffected
- The number of rows affected.
- data
- The data returned by the Business Logic Tier (BLT) component.
- executionStatus
- The execution status of the Business Logic Tier (BLT) component.
- failureReason
- The failure reason received from the driver.
Return Value
Returns true if the given Business Logic Tier (BLT) is executed successfully. Otherwise, false is returned.
| Exception | Description |
|---|---|
| System.ObjectDisposedException | Thrown if this DALBLTConnection instance is disposed. |