Send feedback on this topic.
Teradata.Client.Provider
Subtraction Operator (TdIntervalYearToMonth)



Teradata.Client.Provider Namespace > TdIntervalYearToMonth Structure : Subtraction Operator
A TdIntervalYearToMonth to subtract from.
A TdIntervalYearToMonth to subtract.
A TdIntervalYearToMonth is subtracted from another TdIntervalYearToMonth.
Syntax
'Declaration
 
Public Operator -( _
   ByVal left As TdIntervalYearToMonth, _
   ByVal right As TdIntervalYearToMonth _
) As TdIntervalYearToMonth
'Usage
 

Parameters

left
A TdIntervalYearToMonth to subtract from.
right
A TdIntervalYearToMonth to subtract.

Return Value

A new TdIntervalYearToMonth.
Exceptions
ExceptionDescription
The resultant operation returns a value greater than the TdIntervalYearToMonth.MaxValue or less than the TdIntervalYearToMonth.MinValue.
Remarks

If either parameter is Null a TdIntervalYearToMonth.Null will be returned.

The returned TdIntervalYearToMonth will contain a precision adjusted set to the TdIntervalYearToMonth.MaxPrecision.

Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdIntervalYearToMonth Structure
TdIntervalYearToMonth Members