SqlDecimal.LessThanOrEqual Method (SqlDecimal, SqlDecimal)

 

Performs a logical comparison of the two SqlDecimal parameters 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 LessThanOrEqual(
	SqlDecimal x,
	SqlDecimal 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 SqlDecimal is null, the Value of the SqlBoolean will be Null.

.NET Framework
Available since 1.1
Return to top
Show: