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



Teradata.Client.Provider Namespace > TdIntervalMinuteToSecond Structure : Divide Method
A TdIntervalMinuteToSecond.
A divisor.
A TdIntervalMinuteToSecond is divided by an integer value.
Syntax
'Declaration
 
Public Shared Function Divide( _
   ByVal interval As TdIntervalMinuteToSecond, _
   ByVal value As Integer _
) As TdIntervalMinuteToSecond
'Usage
 
Dim interval As TdIntervalMinuteToSecond
Dim value As Integer
Dim value As TdIntervalMinuteToSecond
 
value = TdIntervalMinuteToSecond.Divide(interval, value)
public static TdIntervalMinuteToSecond Divide( 
   TdIntervalMinuteToSecond interval,
   int value
)
public:
static TdIntervalMinuteToSecond Divide( 
   TdIntervalMinuteToSecond interval,
   int value
) 

Parameters

interval
A TdIntervalMinuteToSecond.
value
A divisor.

Return Value

A new TdIntervalMinuteToSecond as the result of dividing a TdIntervalMinuteToSecond and an integer value.
Exceptions
ExceptionDescription
The value divisor cannot be 0.
Remarks

If interval is TdIntervalMinuteToSecond.Null a Null will be returned.

The returned TdIntervalMinuteToSecond will contain a precision and scale which matches the precision and scale of the interval parameter.

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

TdIntervalMinuteToSecond Structure
TdIntervalMinuteToSecond Members