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

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdIntervalYearToMonth Structure
TdIntervalYearToMonth Members