dotConnect for Salesforce Documentation
Devart.Data.Salesforce Namespace / SalesforceConnectionStringBuilder Class
Properties Methods

In This Topic
    SalesforceConnectionStringBuilder Class Members
    In This Topic

    The following tables list the members exposed by SalesforceConnectionStringBuilder.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded. Initializes a new instance of the SalesforceConnectionStringBuilder class.  
    Top
    Public Properties
     NameDescription
    Public PropertyDetermines the authentication method to use when connecting to Salesforce.  
    Public PropertyGets or sets the number of records returned by a service at once. The default value is 500; the minimum is 200, and the maximum is 2,000.  
    Public PropertyDetermines whether to cache data from all the Salesforce tables.  
    Public PropertyGets or sets the Consumer Key from the connected app definition.  
    Public PropertyGets or sets the Consumer Secret from the connected app definition.  
    Public PropertyGets or sets time span in seconds for connection to live.  
    Public PropertyGets or sets the connection string associated with the System.Data.Common.DbConnectionStringBuilder. (Inherited from System.Data.Common.DbConnectionStringBuilder)
    Public PropertyGets or sets the time to wait while trying to establish a connection before terminating the attempt and generating an error.  
    Public PropertyGets the current number of keys that are contained within the System.Data.Common.DbConnectionStringBuilder.ConnectionString property. (Inherited from System.Data.Common.DbConnectionStringBuilder)
    Public PropertyGets or sets the path to the data cache database file. If not set, the file is located in the user Application Data directory by default and is named by the Salesforce.com or Database.com account name.  
    Public PropertyGets or sets the time in seconds to wait while trying to execute a command before terminating the attempt and generating an error.  
    Public PropertyGets or sets the default refresh interval in seconds for refreshing data in cache. The default value is 3600 (one hour)  
    Public PropertyDetermines whether to delay establishing an actual connection to Salesforce until some data that is not present in the local cache is queried or data is modified.  
    Public PropertyGets or sets the Salesforce.com or Database.com login URL  
    Public PropertyDetermines whether to include the deleted records (from Salesforce recycled bin) to SELECT query results.  
    Public PropertySpecifies a data source-specific command that should be executed immediately after establishing the connection. (Inherited from Devart.Common.DbConnectionStringBuilder)
    Public PropertyOverridden. Returns true.  
    Public PropertyGets a value that indicates whether the System.Data.Common.DbConnectionStringBuilder is read-only. (Inherited from System.Data.Common.DbConnectionStringBuilder)
    Public PropertyOverridden. Returns the value of given key.  
    Public PropertyOverridden. Collection of keys in the SalesforceConnectionStringBuilder.  
    Public PropertyThe maximum number of connections allowed in the pool.  
    Public PropertyGets or sets the path to the metadata cache database file. If not set, the file is located in the user Application Data directory by default and is named by the Salesforce.com or Database.com account name.  
    Public PropertyThe minimum number of connections allowed in the pool.  
    Public PropertyGets or sets a string, representing a unique identifier for the Salesforce organization to which the account you connect to belongs.  
    Public PropertyGets or sets the user's password to connect.  
    Public PropertyGets or sets a value indicating whether password is stored in connection string after connection is opened.  
    Public PropertyGets or sets pooling mode.  
    Public Property  
    Public PropertyGets or sets the host name or IP address of the proxy server to which to connect.  
    Public PropertyGets or sets the password for the proxy server account.  
    Public PropertyGets or sets the port number of the proxy server.  
    Public PropertyGets or sets the proxy server account name.  
    Public PropertyGets or sets a value indicating whether the connection is read-only (allows only SELECT statements).  
    Public PropertyGets or sets a value determining whether to refresh the Salesforce.com or Database.com metadata each time when connecting.  
    Public PropertyGets or sets the Salesforce OAuth 2.0 refresh token to use with RefreshToken authentication.  
    Public PropertySpecifies a data source-specific command that should be executed immediately after first establishing the connection. Unlike InitializationCommand, this command is not executed when a connection is taken from the pool. (Inherited from Devart.Common.DbConnectionStringBuilder)
    Public PropertyGets or sets the automatically generated key that is used for logging in to Salesforce from an untrusted network.  
    Public PropertyGets or sets Salesforce session ID for the session ID authorization.  
    Public Property  
    Public PropertyDetermines whether to provide access to Salesforce system columns such as CreationDate, IsDeleted, etc.  
    Public PropertyDetermines whether to trigger auto-response rules or not.  
    Public PropertyDetermines whether to trigger email outside the organization or not.  
    Public PropertyDetermines whether to trigger email that is sent to users in the organization or not.  
    Public PropertyDetermines whether to update the list of most recently used items or not.  
    Public PropertyDetermines whether to upgrade the local cache database or to throw an exception in case when dotConnect for Salesforce version that uses a newer cache structure or newer version of Salesforce API discovers an old incompatible cache for the connection that is opening. Default value is true.  
    Public PropertyDetermines whether to use assignment rules when inserting or updating data.  
    Public PropertyGets or sets the name of the user to connect.  
    Public PropertyIndicates whether all the datetime values retrieved from Salesforce are returned as UTC values or converted to local time, and whether date values, specified on the application side (for example, in SQL statements) are considered UTC or local.  
    Public PropertyOverridden. Collection of values in the SalesforceConnectionStringBuilder.  
    Top
    Public Methods
     NameDescription
    Public MethodAdds an entry with the specified key and value into the System.Data.Common.DbConnectionStringBuilder. (Inherited from System.Data.Common.DbConnectionStringBuilder)
    Public MethodOverridden. Sets all SalesforceConnectionStringBuilder properties to default values.  
    Public MethodOverridden. Indicates whether specified key is set in the SalesforceConnectionStringBuilder object.  
    Public MethodOverloaded. Overridden. Returns a value indicating whether this SalesforceConnectionStringBuilder has same parameters as given DbConnectionStringBuilder.  
    Public MethodOverridden. Sets value of the specified key to default.  
    Public MethodOverridden. Determines whether the key will be serialized if required.  
    Public MethodReturns the connection string associated with this System.Data.Common.DbConnectionStringBuilder. (Inherited from System.Data.Common.DbConnectionStringBuilder)
    Public MethodOverridden. Attempts to get a key value.  
    Top
    See Also