SqlDateTime.GreaterThanOrEqual(SqlDateTime, SqlDateTime) 方法
定义
对 SqlDateTime 的两个实例进行比较,以确定第一个实例是否大于或等于第二个实例。Compares two instances of SqlDateTime to determine whether the first is greater than or equal to the second.
public:
static System::Data::SqlTypes::SqlBoolean GreaterThanOrEqual(System::Data::SqlTypes::SqlDateTime x, System::Data::SqlTypes::SqlDateTime y);
public static System.Data.SqlTypes.SqlBoolean GreaterThanOrEqual (System.Data.SqlTypes.SqlDateTime x, System.Data.SqlTypes.SqlDateTime y);
static member GreaterThanOrEqual : System.Data.SqlTypes.SqlDateTime * System.Data.SqlTypes.SqlDateTime -> System.Data.SqlTypes.SqlBoolean
Public Shared Function GreaterThanOrEqual (x As SqlDateTime, y As SqlDateTime) As SqlBoolean
参数
SqlDateTime 结构。A SqlDateTime structure.
SqlDateTime 结构。A SqlDateTime structure.
返回
一个 SqlBoolean,如果第一个实例大于或等于第二个实例,则为 True。A SqlBoolean that is True if the first instance is greater than or equal to the second instance. 否则为 False。Otherwise, False. 如果 SqlDateTime 的任一实例为空,则 Value 的 SqlBoolean 将为 Null。If either instance of SqlDateTime is null, the Value of the SqlBoolean will be Null.