Share via


HResults.DTS_E_EXPREVALINVALIDCASTLENGTH Field

The value %1!d! specified for the length parameter of the cast to data type %2 is negative and not valid. The length must be positive.

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

Syntax

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

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

See Also

Reference

HResults Class

Microsoft.SqlServer.Dts.Runtime Namespace