Bewerken

Share via


SqlBoolean.GreaterThan(SqlBoolean, SqlBoolean) Operator

Definition

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

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

Parameters

x
SqlBoolean

A SqlBoolean object.

y
SqlBoolean

A SqlBoolean object.

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.

The equivalent method for this operator is SqlBoolean.GreaterThan.

Applies to

See also