SqlDateTime.GreaterThan(SqlDateTime, SqlDateTime) Metoda

Definice

Porovná dva výskyty a SqlDateTime určí, jestli je první větší než druhý.

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

Parametry

x
SqlDateTime

Struktura SqlDateTime .

y
SqlDateTime

Struktura SqlDateTime .

Návraty

Jedná SqlBoolean se o to, True pokud je první instance větší než druhá instance. V opačném případě hodnota False. Pokud je některý z instancí SqlDateTime null, Value bude Nullhodnota SqlBoolean .

Platí pro

Viz také