SqlDateTime.LessThanOrEqual Operator (SqlDateTime, SqlDateTime)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

equivalentCodeEntityM:System.Data.SqlTypes.SqlDateTime.LessThanOrEqual(System.Data.SqlTypes.SqlDateTime,System.Data.SqlTypes.SqlDateTime)

Compares two instances of SqlDateTime to determine whether the first is less than or equal to the second.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public static SqlBoolean operator <=(
	SqlDateTime x,
	SqlDateTime y
)

Return Value

Type: System.Data.SqlTypes.SqlBoolean

A SqlBoolean that is True if the first instance is less than or equal to the second instance. Otherwise, False. If either instance of SqlDateTime is null, the Value of the SqlBoolean will be Null.

.NET Framework
Available since 1.1
Return to top
Show: