asp.net.ph

IDbCommand.Transaction Property

System.Data Namespace   IDbCommand Class


Sets or retrieves the transaction in which the IDbCommand executes.

Syntax


Script IDbCommand.Transaction [ = sqlTransaction ]

Property Value


sqlTransaction The transaction in which the IDbCommand executes.

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 property to a transaction object that is not within the same connection as the command object, an exception will be thrown the next time you attempt to execute a statement.

See Also

IDbCommand 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