asp.net.ph

OleDbCommand.Transaction Property

System.Data.OleDb Namespace   OleDbCommand Class


Sets or retrieves the transaction in which the OleDbCommand executes.

Syntax


Script OleDbCommand.Transaction [ = objTransaction ]

Property Value


objTransaction The OleDbTransaction.

The property is read/write with no default value.

Remarks

You cannot set the Transaction property if it is already set to a specific value, and the command is in the process of executing. If you set the transaction property to a OleDbTransaction object that is not connected to the same OleDbConnection as the OleDbCommand object, an exception will be thrown the next time you attempt to execute a statement.

See Also

OleDbCommand Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph