Export (0) Print
Expand All
Expand Minimize

ExecuteBatch Method

SQL Server 2000

ReportingService.ExecuteBatch Method

Executes all methods that are associated with a batch ID within a single database transaction.

Public Sub ExecuteBatch()
   Member of [Namespace].ReportingService

public void ExecuteBatch();
   Member of [Namespace].ReportingService
Permissions

Users must have permissions on all operations that are included in the batch.

Remarks

All methods that are associated with the currently set batch ID are executed within the scope of a single database transaction in the order in which they are called. The batch ID is contained in the SOAP header for each Web service operation.

To execute the batch, set the BatchHeaderValue property of the Web service to a value that is equal to the batch ID generated when the batch was created.

If an error occurs in any of the method calls when the batch executes, the report server stops execution and rolls back any previous operations. This provides a distinct advantage in a case when one method call depends on the successful execution of the other method calls in the batch.

See Also

CancelBatch Method

CreateBatch Method

ReportingService Class

Reporting Services Web Service Library

Show:
© 2014 Microsoft