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
usernamestringUsername of Salesforce account.
passwordstringPassword of Salesforce account (Salesforce Document: the user must add their security token to the end of their password in order to log in).
sObjectsstring[]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.
loginUrlstringSalesforce 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
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
UseEmptySchemaRow
If true the SchemaRow property will offer a empty row. Normally SchemaRow has always first row contents.
public bool UseEmptySchemaRow { get; set; }