dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlInterval Structure / TotalMonths Property

In This Topic
    TotalMonths Property
    In This Topic
    Gets number of months stored in PgSqlInterval object.
    Syntax
    'Declaration
     
    Public ReadOnly Property TotalMonths As Integer
    public int TotalMonths {get;}

    Property Value

    Number of months in a PgSqlInterval object.
    Remarks
    The real number of months stored on server is contained in TotalMonths property. Its constituent parts are Years and Months. When a value is assigned to PgSqlInterval object, it is automatically parsed and appropriate properties are filled with right values.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also