dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleLogicalTransaction Class / GetOutcome Method / GetOutcome(String,String,String) Method
User Id to use for the connection.
Password to use for the connection.
Data source to connect to.

GetOutcome(String,String,String) Method
Retrieves the transaction status from the server and retrieves the necessary information for filling the Committed and UserCallCompleted properties.
Syntax
'Declaration
 
Public Overloads Sub GetOutcome( _
   ByVal userId As String, _
   ByVal password As String, _
   ByVal dataSource As String _
) 
 

Parameters

userId
User Id to use for the connection.
password
Password to use for the connection.
dataSource
Data source to connect to.
Remarks

See OracleLogicalTransaction for the example of using this method.

This method uses OracleConnection with the provided parameters. The OracleConnectionStringBuilder.Pooling connection string parameter is set to false for the used connection, and this connection is closed and disposed after the necessary information is retrieved. Subsequent calls to this method won't cause an additional round-trip to the database server.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also