dotConnect for Salesforce Documentation
Devart.Data.Salesforce Namespace / SalesforceLoader Class / Close Method / Close(Boolean) Method

In This Topic
    Close(Boolean) Method
    In This Topic
    Closes loading session, sends all the remaining rows to the Salesforce.com or Database.com server, and sends the command to start the actual processing and inserting of the sent data to the server.
    Syntax
    'Declaration
     
    Public Overloads Overrides NotOverridable Sub Close( _
       ByVal sendData As Boolean _
    ) 
    public override void Close( 
       bool sendData
    )

    Parameters

    sendData
    Remarks
    You must call Close method after finishing of loading session. No rows will be inserted without calling this method.
    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