共用方式為


HResults.DTS_E_CANTADDREMOVEWHENEXECUTING 欄位

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.

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

語法

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

請參閱

參考

HResults 類別

Microsoft.SqlServer.Dts.Runtime 命名空間