FCFL.NET Common Library - API Reference
Execute Method (UpdateQueryBatch)

Executes the batch if the provider supports statement batching, or nothing if it doesn't
Syntax
'Declaration
 
Public Function Execute() As Integer
public int Execute()

Return Value

The number of rows affected, if available, or -2 if no statements were executed
Remarks

Not all providers support returning the number of rows affected in all circumstances. Different providers return different results in this case. Usually the number is -1 or 0. Otherwise, the number should be a positive number indicating the number of rows inserted and/or updated.

IMPORTANT: The UpdateQueryBatch does not commit or rollback the transaction instance. It is the responsibility of the caller to ensure that the transaction is properly set up and finished after the batch is executed.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Reference

UpdateQueryBatch Class
UpdateQueryBatch Members

 

 


© 2010 Dovetail Software, Inc. - All rights reserved.
- Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
- .NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.

Send comments on this topic.