Send feedback on this topic.
Teradata.Client.Provider
Subtract Method (TdIntervalMinuteToSecond)



Teradata.Client.Provider Namespace > TdIntervalMinuteToSecond Structure : Subtract Method
A TdIntervalMinuteToSecond to subtract from.
A TdIntervalMinuteToSecond to subtract.
A TdIntervalMinuteToSecond is subtracted from another TdIntervalMinuteToSecond.
Syntax
'Declaration
 
Public Shared Function Subtract( _
   ByVal left As TdIntervalMinuteToSecond, _
   ByVal right As TdIntervalMinuteToSecond _
) As TdIntervalMinuteToSecond
'Usage
 
Dim left As TdIntervalMinuteToSecond
Dim right As TdIntervalMinuteToSecond
Dim value As TdIntervalMinuteToSecond
 
value = TdIntervalMinuteToSecond.Subtract(left, right)

Parameters

left
A TdIntervalMinuteToSecond to subtract from.
right
A TdIntervalMinuteToSecond to subtract.

Return Value

A new TdIntervalMinuteToSecond as the result of subtracting right from the left.
Exceptions
ExceptionDescription
The resultant operation returns a value greater than the TdIntervalMinuteToSecond.MaxValue or less than the TdIntervalMinuteToSecond.MinValue.
Remarks

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

The returned TdIntervalMinuteToSecond will contain a precision set to the TdIntervalMinuteToSecond.MaxPrecision. The scale will always be set to the the scale of the operand containing the greatest scale.

Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdIntervalMinuteToSecond Structure
TdIntervalMinuteToSecond Members