Send feedback on this topic.
Teradata.Client.Provider
Connection Property (TdTransaction)



Teradata.Client.Provider Namespace > TdTransaction Class : Connection Property
Gets the TdConnection object associated with this transaction.
Syntax
'Declaration
 
Public Shadows ReadOnly Property Connection As TdConnection
'Usage
 
Dim instance As TdTransaction
Dim value As TdConnection
 
value = instance.Connection
public new TdConnection Connection {get;}
public:
new property TdConnection^ Connection {
   TdConnection^ get();
}

Property Value

The TdConnection object associated with this transaction or a Null reference.
Remarks
Connection property returns the active TdConnection associated with this transaction. After a call to the TdTransaction.Rollback or TdTransaction.Commit methods, the transaction is no longer associated with a TdConnection object and Connection returns a Null reference.
Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdTransaction Class
TdTransaction Members