SqlDateTime.ToSqlString Method

Definition

Converts this SqlDateTime structure to SqlString.

public:
 System::Data::SqlTypes::SqlString ToSqlString();
public System.Data.SqlTypes.SqlString ToSqlString ();
member this.ToSqlString : unit -> System.Data.SqlTypes.SqlString
Public Function ToSqlString () As SqlString

Returns

A SqlString structure whose value is a string representing the date and time that is contained in this SqlDateTime structure.

Applies to

See also