SqlBoolean.LessThanOrEquals(SqlBoolean, SqlBoolean) Method

Definition

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

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

Parameters

x
SqlBoolean

A SqlBoolean structure.

y
SqlBoolean

A SqlBoolean structure.

Returns

True if the first instance is less than or equal to the second instance; otherwise, False.

Remarks

If either instance of x or y is null, the value of the SqlBoolean will be null.

Applies to

See also