These public interfaces are used in Salesforce components. They are provided for implementing advanced functionality in your scripts. In order for you to use these interfaces in your project, you have to reference CozyRoc.SSISPlus.dll and CozyRoc.Sforce.dll libraries. Also include use of Sforce.Service namespace.
When you call Salesforce Connection Manager AcquireConnection method, it returns object implementing ISforceConnection interface. This is the interface used for interaction with Salesforce service.
Connects to Salesforce service. The result is SforceService object.
Closes the connection to Salesforce service. Use always after you finish working with the service.
Returns true if connected to the service.
Specify user name to access the Salesforce service.
Specify user password to access the Salesforce service.
Specify the number of seconds before timing out session connect. The default value of this property is 60 seconds.
Specify if all clients should use the same connection. This property has the options listed in the following table.
|True||All clients use same connection (default).|
|False||Every client uses different connection.|
Specify the ID of the organization against which you will authenticate Self-Service users.
Specify the ID of the portal for this organization.
Specify to allow duplicates to be preserved.
Specify to allow field truncation.
Specify to roll back all changes unless all records are processed successfully.
Specify the Salesforce identifier of the assignment rule to be invoked when lead or case is created.
Specify Salesforce service URL. This property should be explicitly specified when doing sandbox testing.
Specify the name or IP address of the proxy server.
Specify the port number on the proxy server to use for the connection.
Specify user name to access the proxy server.
Specify password to access the proxy server.