Windward Studios API Reference
SFDataSourceImpl Constructor(SforceService,String,String,Boolean)
See Also  Send comments on this topic.
net.windward.api.csharp Namespace > SFDataSourceImpl Class > SFDataSourceImpl Constructor : SFDataSourceImpl Constructor(SforceService,String,String,Boolean)




binding
The base binding to use for the Salesforce server.
username
Salesforce login username.
password
Salesforce login password. In this case the security token is part of the password.
logoutWhenDone
Set to false if you will be using the same datasource object to run multiple templates.

Glossary Item Box

Create a DataSourceProvider that uses SFData.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal binding As WindwardSalesforceDriver.SalesForce.SforceService, _
   ByVal username As String, _
   ByVal password As String, _
   ByVal logoutWhenDone As Boolean _
)
Visual Basic (Usage)Copy Code
Dim binding As WindwardSalesforceDriver.SalesForce.SforceService
Dim username As String
Dim password As String
Dim logoutWhenDone As Boolean
 
Dim instance As New SFDataSourceImpl(binding, username, password, logoutWhenDone)
C# 
public SFDataSourceImpl( 
   WindwardSalesforceDriver.SalesForce.SforceService binding,
   string username,
   string password,
   bool logoutWhenDone
)
Managed Extensions for C++ 
public: SFDataSourceImpl( 
   WindwardSalesforceDriver.SalesForce.SforceService* binding,
   string* username,
   string* password,
   bool logoutWhenDone
)
C++/CLI 
public:
SFDataSourceImpl( 
   WindwardSalesforceDriver.SalesForce.SforceService^ binding,
   String^ username,
   String^ password,
   bool logoutWhenDone
)

Parameters

binding
The base binding to use for the Salesforce server.
username
Salesforce login username.
password
Salesforce login password. In this case the security token is part of the password.
logoutWhenDone
Set to false if you will be using the same datasource object to run multiple templates.

Requirements

Platforms: Windows 10, Windows NT, Windows Server

See Also

Windward Studios - .NET Document Generation software