OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / DataAccess Class / AddZone Method
A comprehensive Zone object.



In This Topic
    AddZone Method
    In This Topic
    Creates a new Zone record, or updates an existing Zone record.
    Syntax
    'Declaration
     
    
    Public Function AddZone( _
       ByVal zone As Zone _
    ) As Boolean
    'Usage
     
    
    Dim instance As DataAccess
    Dim zone As Zone
    Dim value As Boolean
     
    value = instance.AddZone(zone)
    public bool AddZone( 
       Zone zone
    )
    public:
    bool AddZone( 
       Zone^ zone
    ) 

    Parameters

    zone
    A comprehensive Zone object.

    Return Value

    Returns true if the Zone record was successfully created or updated. Otherwise, returns false.
    Requirements

    Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11, Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019, Windows Server 2022

    See Also