SqlDateTime.Subtract(SqlDateTime, TimeSpan) Metoda

Definice

Odečte od této SqlDateTime instance zadanou Timespan hodnotu.

public:
 static System::Data::SqlTypes::SqlDateTime Subtract(System::Data::SqlTypes::SqlDateTime x, TimeSpan t);
public static System.Data.SqlTypes.SqlDateTime Subtract (System.Data.SqlTypes.SqlDateTime x, TimeSpan t);
static member Subtract : System.Data.SqlTypes.SqlDateTime * TimeSpan -> System.Data.SqlTypes.SqlDateTime
Public Shared Function Subtract (x As SqlDateTime, t As TimeSpan) As SqlDateTime

Parametry

x
SqlDateTime

Hodnota SqlDateTime .

t
TimeSpan

Hodnota Timespan .

Návraty

Hodnota SqlDateTime .

Platí pro

Viz také