Uredi

Deli z drugimi prek


SqlDateTime.GreaterThan(SqlDateTime, SqlDateTime) Operator

Definition

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

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 ( > ) : 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 first instance is greater than the second instance. Otherwise, False. If either instance of SqlBoolean is null, the Value of the SqlBoolean will be Null.

Remarks

The equivalent method for this operator is SqlDateTime.GreaterThan(SqlDateTime, SqlDateTime)

Applies to

See also