SqlString.ToSqlDateTime 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.
Converts this SqlString structure to SqlDateTime.
public:
 System::Data::SqlTypes::SqlDateTime ToSqlDateTime();public System.Data.SqlTypes.SqlDateTime ToSqlDateTime();member this.ToSqlDateTime : unit -> System.Data.SqlTypes.SqlDateTimePublic Function ToSqlDateTime () As SqlDateTimeReturns
A new SqlDateTime structure that contains the date value represented by this SqlString.