共用方式為


HResults.DTS_E_TXNSPECINVALID 欄位

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.

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public Const DTS_E_TXNSPECINVALID As Integer
'用途
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

請參閱

參考

HResults 類別

Microsoft.SqlServer.Dts.Runtime 命名空間