Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OracleMonthSpan Constructor (Int32, Int32)

Initializes a new OracleMonthSpan structure to a specified number years and months.

Namespace:  System.Data.OracleClient
Assembly:  System.Data.OracleClient (in System.Data.OracleClient.dll)

'Declaration
Public Sub New ( _
	years As Integer, _
	months As Integer _
)

Parameters

years
Type: System.Int32

Number of years.

months
Type: System.Int32

Number of months.

ExceptionCondition
ArgumentOutOfRangeException

The parameters specify an OracleMonthSpan value less than MinValue or greater than MaxValue.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft