Partilhar via


HResults.DTS_E_EXPREVALSTATIC_INVALIDDATEPARTNODE Field

The "date part" parameter specified for a date function is not valid. "Date part" parameters must be static strings, and cannot contain dynamic elements such as input columns. They must be of type DT_WSTR.

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

Syntax

'Declaration
Public Const DTS_E_EXPREVALSTATIC_INVALIDDATEPARTNODE As Integer
public const int DTS_E_EXPREVALSTATIC_INVALIDDATEPARTNODE
public:
literal int DTS_E_EXPREVALSTATIC_INVALIDDATEPARTNODE
public static final int DTS_E_EXPREVALSTATIC_INVALIDDATEPARTNODE
public const var DTS_E_EXPREVALSTATIC_INVALIDDATEPARTNODE : 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