SqlDecimal.LessThanOrEqual(SqlDecimal, SqlDecimal) Method

Definition

Performs a logical comparison of the two SqlDecimal parameters to determine whether the first is less than or equal to the second.

public:
 static System::Data::SqlTypes::SqlBoolean LessThanOrEqual(System::Data::SqlTypes::SqlDecimal x, System::Data::SqlTypes::SqlDecimal y);
public static System.Data.SqlTypes.SqlBoolean LessThanOrEqual (System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y);
static member LessThanOrEqual : System.Data.SqlTypes.SqlDecimal * System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlBoolean
Public Shared Function LessThanOrEqual (x As SqlDecimal, y As SqlDecimal) As SqlBoolean

Parameters

x
SqlDecimal

A SqlDecimal structure.

y
SqlDecimal

A SqlDecimal structure.

Returns

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.

Applies to

See also