Share via


HResults.DTS_E_TXNSPECINVALID Field

Transaction cannot be specified when a retained connection is used. This error occurs when Retain is set to TRUE on the connection manager, but AcquireConnection was called with a non-null transaction parameter.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public Const DTS_E_TXNSPECINVALID As Integer
'Usage
Dim value As Integer

value = HResults.DTS_E_TXNSPECINVALID
public const int DTS_E_TXNSPECINVALID
public:
literal int DTS_E_TXNSPECINVALID
static val mutable DTS_E_TXNSPECINVALID: int
public const var DTS_E_TXNSPECINVALID : int