SqlDateTime.GreaterThan Method
.NET Framework 3.0
Compares two instances of SqlDateTime to determine whether the first is greater than the second.
Namespace: System.Data.SqlTypes
Assembly: System.Data (in system.data.dll)
Assembly: System.Data (in system.data.dll)
public static SqlBoolean GreaterThan ( SqlDateTime x, SqlDateTime y )
public static function GreaterThan ( x : SqlDateTime, y : SqlDateTime ) : SqlBoolean
Not applicable.
Parameters
- x
A SqlDateTime structure.
- y
A SqlDateTime structure.
Return Value
A SqlBoolean that is True if the first instance is greater than the second instance. Otherwise, False. If either instance of SqlDateTime is null, the Value of the SqlBoolean will be Null.Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.