SqlInt16.GreaterThan(SqlInt16, SqlInt16) Method

Definition

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

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

Parameters

x
SqlInt16

A SqlInt16 structure.

y
SqlInt16

A SqlInt16 structure.

Returns

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

Applies to

See also