Equals Method (SqlDateTime, SqlDateTime)
Collapse the table of content
Expand the table of content

SqlDateTime.Equals Method (SqlDateTime, SqlDateTime)


Performs a logical comparison of two SqlDateTime structures to determine whether they are equal.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public static SqlBoolean Equals(
	SqlDateTime x,
	SqlDateTime y

Return Value

Type: System.Data.SqlTypes.SqlBoolean

true if the two values are equal. Otherwise, false.

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft