SqlBoolean.GreaterThan(SqlBoolean, SqlBoolean) Method

Definition

Compares two instances of SqlBoolean to determine whether the first is greater than the second.

public:
 static System::Data::SqlTypes::SqlBoolean GreaterThan(System::Data::SqlTypes::SqlBoolean x, System::Data::SqlTypes::SqlBoolean y);
public static System.Data.SqlTypes.SqlBoolean GreaterThan (System.Data.SqlTypes.SqlBoolean x, System.Data.SqlTypes.SqlBoolean y);
static member GreaterThan : System.Data.SqlTypes.SqlBoolean * System.Data.SqlTypes.SqlBoolean -> System.Data.SqlTypes.SqlBoolean
Public Shared Function GreaterThan (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 greater than 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