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
public const int DTS_E_EXPREVALSTATIC_INVALIDCASTLENGTH
public:
literal int DTS_E_EXPREVALSTATIC_INVALIDCASTLENGTH
public static final int DTS_E_EXPREVALSTATIC_INVALIDCASTLENGTH
public const var DTS_E_EXPREVALSTATIC_INVALIDCASTLENGTH : int

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

HResults Class
HResults Members
Microsoft.SqlServer.Dts.Runtime Namespace