Table of Contents

Class SalesforceDataProvider

Namespace
combit.Reporting.DataProviders
Assembly
combit.ListLabel31.CrossPlatform.SalesforceDataProvider.dll

Salesforce SOAP Services data provider.

public sealed class SalesforceDataProvider : IDataProvider, ISupportsLogger, ICanHandleUsedIdentifiers
Inheritance
SalesforceDataProvider
Implements
Inherited Members

Constructors

SalesforceDataProvider(string, string, string[], string)

Salesforce SOAP API data provider.

public SalesforceDataProvider(string username, string password, string[] sObjects = null, string loginUrl = "https://login.salesforce.com/services/oauth2/token")

Parameters

username string

Username of Salesforce account.

password string

Password of Salesforce account (Salesforce Document: the user must add their security token to the end of their password in order to log in).

sObjects string[]

If you want to not load all Salesforce sObjects, pass a List of names of required sObjects. Default value is null and will load the whole database.

loginUrl string

Salesforce Login Url. Default value is "https://login.salesforce.com/services/oauth2/token".

Properties

ConnectionTimeout

The connection timeout in millisecond to bind to Salesforce web service. Default value is 60000 millisecond (1 minute).

public int ConnectionTimeout { get; set; }

Property Value

int

LoginUrl

Salesforce Login Url. This property is only changable through provider constructor. Default value is "https://login.salesforce.com/services/oauth2/token".

public string LoginUrl { get; }

Property Value

string

UseEmptySchemaRow

If true the SchemaRow property will offer a empty row. Normally SchemaRow has always first row contents.

public bool UseEmptySchemaRow { get; set; }

Property Value

bool