Share via


HResults.DTS_E_CANTADDREMOVEWHENEXECUTING Field

Cannot add or remove an element from a package in runtime mode. This error occurs when an attempt is made to add or remove an object from a collection while the package is executing.

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

Syntax

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

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

See Also

Reference

HResults Class

Microsoft.SqlServer.Dts.Runtime Namespace