OracleCommand.Transaction Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the OracleTransaction within which the OracleCommand executes.
public:
property System::Data::OracleClient::OracleTransaction ^ Transaction { System::Data::OracleClient::OracleTransaction ^ get(); void set(System::Data::OracleClient::OracleTransaction ^ value); };
[System.ComponentModel.Browsable(false)]
public System.Data.OracleClient.OracleTransaction Transaction { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Transaction : System.Data.OracleClient.OracleTransaction with get, set
Public Property Transaction As OracleTransaction
Property Value
An OracleTransaction. The default is a null value.
- Attributes
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 an OracleTransaction object that is not connected to the same OracleConnection as the OracleCommand object, an exception will be thrown the next time you attempt to execute a statement.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om