# SqlInt16.LessThanOrEqual(SqlInt16, SqlInt16)SqlInt16.LessThanOrEqual(SqlInt16, SqlInt16)SqlInt16.LessThanOrEqual(SqlInt16, SqlInt16)SqlInt16.LessThanOrEqual(SqlInt16, SqlInt16) Method

## Definición

Compara dos estructuras SqlInt16 para determinar si la primera es menor o igual que la segunda.Compares two SqlInt16 structures to determine whether the first is less than or equal to the second.

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

#### Parámetros

x
SqlInt16 SqlInt16 SqlInt16 SqlInt16

Estructura SqlInt16.A SqlInt16 structure.

y
SqlInt16 SqlInt16 SqlInt16 SqlInt16

Estructura SqlInt16.A SqlInt16 structure.

#### Devoluciones

Un objeto SqlBoolean que es True si la primera instancia es menor o igual que la segunda instancia.A SqlBoolean that is True if the first instance is less than or equal to the second instance. En caso contrario, es False.Otherwise, False. Si alguna de las instancias de SqlInt16 es null, el objeto Value de la estructura SqlBoolean será Null.If either instance of SqlInt16 is null, the Value of the SqlBoolean will be Null.