SqlInt16::LessThanOrEqual Method (SqlInt16, SqlInt16)

 

Compares two SqlInt16 structures to determine whether the first is less than or equal to the second.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public:
static SqlBoolean LessThanOrEqual(
	SqlInt16 x,
	SqlInt16 y
)

Parameters

x
Type: System.Data.SqlTypes::SqlInt16

A SqlInt16 structure.

y
Type: System.Data.SqlTypes::SqlInt16

A SqlInt16 structure.

Return Value

Type: System.Data.SqlTypes::SqlBoolean

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

.NET Framework
Available since 1.1
Return to top
Show: