dotConnect for Salesforce Documentation
Devart.Data.Salesforce Namespace / SalesforceLoaderColumnCollection Class / Add Method / Add(String,SalesforceType,Boolean) Method
The name of the column.
One of the SalesforceType values.
Determines whether the column is an External ID.

In This Topic
    Add(String,SalesforceType,Boolean) Method
    In This Topic
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal name As String, _
       ByVal dbType As SalesforceType, _
       ByVal externalId As Boolean _
    ) As Integer
    public int Add( 
       string name,
       SalesforceType dbType,
       bool externalId
    )

    Parameters

    name
    The name of the column.
    dbType
    One of the SalesforceType values.
    externalId
    Determines whether the column is an External ID.

    Return Value

    The index of the added column.
    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