共用方式為


HResults.DTS_E_EXPREVALASSIGNMENTTOREADONLYVARIABLE 欄位

Error using a read-only variable "%1" in an assignment expression. The expression result cannot be assigned to the variable because the variable is read only. Choose a variable that can be written to, or remove the expression from this variable.

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

語法

'宣告
Public Const DTS_E_EXPREVALASSIGNMENTTOREADONLYVARIABLE As Integer
'用途
Dim value As Integer 

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

請參閱

參考

HResults 類別

Microsoft.SqlServer.Dts.Runtime 命名空間