Share via


HResults.DTS_E_EXPREVALSTATIC_INVALIDCASTLENGTH Field

The value specified for the length parameter of a cast operation is not valid. The length must be positive. The length specified for the type cast is negative. Change to a positive value.

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

Syntax

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

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