Skip to main content

What it does

Opens a batch (locks it to prevent deletion by other connections). To delete a batch, close it first using the CloseBatch method.

Definition

bool OpenBatch ( int sessionId, int batchId );

Parameters

NameTypeDescription
sessionIdintThe ID of the connection to the Application Server
batchIdintThe ID of the batch being opened

Returned value

TypeDescription
boolA flag that shows whether the operation has been successfully completed