Export (0) Print
Expand All

SqlDateTime Methods

The SqlDateTime type exposes the following members.

  Name Description
Public method Static member Add Adds a SqlDateTime to the specified TimeSpan.
Public method CompareTo(Object) Compares this SqlDateTime structure to the supplied Object and returns an indication of their relative values.
Public method CompareTo(SqlDateTime) Compares this SqlDateTime structure to the supplied SqlDateTime structure and returns an indication of their relative values.
Public method Equals(Object) Compares the supplied object parameter to the Value property of the SqlDateTime object. (Overrides ValueType.Equals(Object).)
Public method Static member Equals(SqlDateTime, SqlDateTime) Performs a logical comparison of two SqlDateTime structures to determine whether they are equal.
Public method GetHashCode Gets the hash code for this instance. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member GetXsdType Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet.
Public method Static member GreaterThan Compares two instances of SqlDateTime to determine whether the first is greater than the second.
Public method Static member GreaterThanOrEqual Compares two instances of SqlDateTime to determine whether the first is greater than or equal to the second.
Public method Static member LessThan Compares two instances of SqlDateTime to determine whether the first is less than the second.
Public method Static member LessThanOrEqual Compares two instances of SqlDateTime to determine whether the first is less than or equal to the second.
Public method Static member NotEquals Performs a logical comparison of two instances of SqlDateTime to determine whether they are not equal.
Public method Static member Parse Converts the specified String representation of a date and time to its SqlDateTime equivalent.
Public method Static member Subtract Subtracts the specified Timespan from this SqlDateTime instance.
Public method ToSqlString Converts this SqlDateTime structure to SqlString.
Public method ToString Converts this SqlDateTime structure to a String. (Overrides ValueType.ToString().)
Top

  Name Description
Explicit interface implemetation Private method IXmlSerializable.GetSchema This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Explicit interface implemetation Private method IXmlSerializable.ReadXml This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Explicit interface implemetation Private method IXmlSerializable.WriteXml This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Top
Show:
© 2014 Microsoft