Bewerken

Delen via


SqlDateTime.Inequality(SqlDateTime, SqlDateTime) Operator

Definition

Performs a logical comparison of two instances of SqlDateTime to determine whether they are not equal.

public:
 static System::Data::SqlTypes::SqlBoolean operator !=(System::Data::SqlTypes::SqlDateTime x, System::Data::SqlTypes::SqlDateTime y);
public static System.Data.SqlTypes.SqlBoolean operator != (System.Data.SqlTypes.SqlDateTime x, System.Data.SqlTypes.SqlDateTime y);
static member op_Inequality : System.Data.SqlTypes.SqlDateTime * System.Data.SqlTypes.SqlDateTime -> System.Data.SqlTypes.SqlBoolean
Public Shared Operator != (x As SqlDateTime, y As SqlDateTime) As SqlBoolean

Parameters

x
SqlDateTime

A SqlDateTime structure.

y
SqlDateTime

A SqlDateTime structure.

Returns

A SqlBoolean that is True if the two instances are not equal or False if the two instances are equal. If either instance of SqlDateTime is null, the Value of the SqlBoolean will be Null.

Applies to

See also