Share 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
'Usage
Dim value As Integer

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