Send feedback on this topic.
Teradata.Client.Provider
BeginTransaction(TdQueryBand) Method



Teradata.Client.Provider Namespace > TdConnection Class > BeginTransaction Method : BeginTransaction(TdQueryBand) Method
The Query Bands that will be defined at the Transaction Level.
Begins an explicit transaction.
Syntax
'Declaration
 
Public Overloads Function BeginTransaction( _
   ByVal queryBand As TdQueryBand _
) As TdTransaction
'Usage
 
Dim instance As TdConnection
Dim queryBand As TdQueryBand
Dim value As TdTransaction
 
value = instance.BeginTransaction(queryBand)
public TdTransaction BeginTransaction( 
   TdQueryBand queryBand
)
public:
TdTransaction^ BeginTransaction( 
   TdQueryBand^ queryBand
) 

Parameters

queryBand
The Query Bands that will be defined at the Transaction Level.
Exceptions
ExceptionDescription
The Advanced SQL Engine does not support Query Bands.
There is an open transaction and Teradata does not support parallel transactions or TdConnection is in the Closed state.
Remarks

The queryBand parameter contains the Query Bands that will be defined at the Transaction level. For more information refer to Query Banding and Trusted Sessions in the Developer's Guide, and TdConnection.BeginTransaction.

Refer to TdConnection.BeginTransaction for more information.

Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdConnection Class
TdConnection Members
Overload List
TdQueryBand Class