supportsDatePartFunctions property
bool
get
supportsDatePartFunctions
DATEFROMPARTS, EOMONTH, TRY_CONVERT and the rest of the functions
SQL Server 2012 added.
There is no equivalent for 2008 worth emitting silently: the closest rewrites change either the type or the sargability of the expression, so a compiler that substituted one would be answering a different question. The 2012 functions are therefore refused on 2008, not translated.
Implementation
bool get supportsDatePartFunctions => _atLeast(11, 110);