Share via


IBuiltInFunction.IsDatePartFunction Property

Gets a value that indicates whether the function is a date-and-time parts function (for example, DATEDIFF, DATEPART, and so on).

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
ReadOnly Property IsDatePartFunction As Boolean
    Get
'Usage
Dim instance As IBuiltInFunction
Dim value As Boolean

value = instance.IsDatePartFunction
bool IsDatePartFunction { get; }
property bool IsDatePartFunction {
    bool get ();
}
abstract IsDatePartFunction : bool
function get IsDatePartFunction () : boolean

Property Value

Type: System.Boolean
true if the function is a date-and-time parts function; otherwise, false.