Metodo ReportingService2005.ExecuteBatch

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

Spazio dei nomi  ReportService2005
Assembly:  ReportService2005 (in ReportService2005.dll)

Sintassi

'Dichiarazione
Public Sub ExecuteBatch
'Utilizzo
Dim instance As ReportingService2005

instance.ExecuteBatch()
public void ExecuteBatch()
public:
void ExecuteBatch()
member ExecuteBatch : unit -> unit
public function ExecuteBatch()

Osservazioni

The table below shows header and permissions information on this operation.

SOAP Headers

(In) BatchHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

Permissions on individual operations in the batch.

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 the batch ID that was 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 is useful when a method call depends on the successful execution of other method calls in the batch.

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

Vedere anche

Riferimento

ReportingService2005 Classe

Spazio dei nomi ReportService2005

Altre risorse

Metodi di invio in batch