OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / DataAccess Class / UpdateContact Method
A comprehensive Contact object.



In This Topic
    UpdateContact Method
    In This Topic
    Updates an existing Contact record.
    Syntax
    'Declaration
     
    
    Public Function UpdateContact( _
       ByVal contact As Customer.Contact _
    ) As Boolean
    'Usage
     
    
    Dim instance As DataAccess
    Dim contact As Customer.Contact
    Dim value As Boolean
     
    value = instance.UpdateContact(contact)
    public bool UpdateContact( 
       Customer.Contact contact
    )
    public:
    bool UpdateContact( 
       Customer.Contact^ contact
    ) 

    Parameters

    contact
    A comprehensive Contact object.

    Return Value

    Returns true if the Contact record was successfully updated. Otherwise, returns false.
    Remarks
    A reference to an existing Customer must be provided in the Contact.CustomerID field of contact.
    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