SqlMoney.GreaterThan(SqlMoney, SqlMoney) Method

Definition

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

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

Parameters

x
SqlMoney

A SqlMoney structure.

y
SqlMoney

A SqlMoney structure.

Returns

A SqlBoolean that is True if the first instance is greater than the second instance. Otherwise, False. If either instance of SqlMoney is null, the Value of the SqlBoolean will be Null.

Applies to

See also