Bewerken

Share via


SqlDecimal.GreaterThan(SqlDecimal, SqlDecimal) Method

Definition

Performs a logical comparison of two SqlDecimal structures to determine whether the first is greater than the second.

public:
 static System::Data::SqlTypes::SqlBoolean GreaterThan(System::Data::SqlTypes::SqlDecimal x, System::Data::SqlTypes::SqlDecimal y);
public static System.Data.SqlTypes.SqlBoolean GreaterThan (System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y);
static member GreaterThan : System.Data.SqlTypes.SqlDecimal * System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlBoolean
Public Shared Function GreaterThan (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 the second instance. Otherwise, False. If either instance of SqlDecimal is null, the Value of the SqlBoolean will be Null.

Applies to

See also