Windward Engine 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 SforceService, _
   ByVal username As String, _
   ByVal password As String, _
   ByVal logoutWhenDone As Boolean _
)
Visual Basic (Usage)Copy Code
Dim binding As 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( 
   SforceService binding,
   string username,
   string password,
   bool logoutWhenDone
)
Managed Extensions for C++ 
public: SFDataSourceImpl( 
   SforceService* binding,
   string* username,
   string* password,
   bool logoutWhenDone
)
C++/CLI 
public:
SFDataSourceImpl( 
   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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family

See Also

© 2019 All Rights Reserved.