SqlDateTime.LessThan(SqlDateTime, SqlDateTime) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares two instances of SqlDateTime to determine whether the first is less than the second.
public:
static System::Data::SqlTypes::SqlBoolean LessThan(System::Data::SqlTypes::SqlDateTime x, System::Data::SqlTypes::SqlDateTime y);
public static System.Data.SqlTypes.SqlBoolean LessThan (System.Data.SqlTypes.SqlDateTime x, System.Data.SqlTypes.SqlDateTime y);
static member LessThan : System.Data.SqlTypes.SqlDateTime * System.Data.SqlTypes.SqlDateTime -> System.Data.SqlTypes.SqlBoolean
Public Shared Function LessThan (x As SqlDateTime, y As SqlDateTime) As SqlBoolean
Parameters
A SqlDateTime structure.
A SqlDateTime structure.
Returns
A SqlBoolean that is True if the first instance is less than the second instance. Otherwise, False. If either instance of SqlDateTime is null, the Value of the SqlBoolean will be Null.
Applies to
See also
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk