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




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

Parameters

username
Salesforce login username.
password
Salesforce login password+securitytoken.
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