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




username
Salesforce login username.
password
Salesforce login password.
securityToken
Salesforce account security token.
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 username As String, _
   ByVal password As String, _
   ByVal securityToken As String, _
   ByVal logoutWhenDone As Boolean _
)
Visual Basic (Usage)Copy Code
Dim username As String
Dim password As String
Dim securityToken As String
Dim logoutWhenDone As Boolean
 
Dim instance As New SFDataSourceImpl(username, password, securityToken, logoutWhenDone)
C# 
public SFDataSourceImpl( 
   string username,
   string password,
   string securityToken,
   bool logoutWhenDone
)
Managed Extensions for C++ 
public: SFDataSourceImpl( 
   string* username,
   string* password,
   string* securityToken,
   bool logoutWhenDone
)
C++/CLI 
public:
SFDataSourceImpl( 
   String^ username,
   String^ password,
   String^ securityToken,
   bool logoutWhenDone
)

Parameters

username
Salesforce login username.
password
Salesforce login password.
securityToken
Salesforce account security token.
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.