Dundas.SharePoint.Charting.WebParts Send comments on this topic.
GetConnectionString Method
See Also 
Dundas.SharePoint.Data Namespace > DataSourceSql Class : GetConnectionString Method


providerName
Name of the provider.
userName
Name of the user.
password
The password.
connectionString
The connection string.
sqlAuthentication
The SQL authentication.
Gets the connection string.

Syntax

Visual Basic (Declaration)  
Public Shared Function GetConnectionString( _
   ByVal providerName As String, _
   ByVal userName As String, _
   ByVal password As String, _
   ByVal connectionString As String, _
   ByVal sqlAuthentication As SQLAuthentication _
) As String
Visual Basic (Usage) Copy Code
Dim providerName As String
Dim userName As String
Dim password As String
Dim connectionString As String
Dim sqlAuthentication As SQLAuthentication
Dim value As String
 
value = DataSourceSql.GetConnectionString(providerName, userName, password, connectionString, sqlAuthentication)
C#  
public static string GetConnectionString( 
   string providerName,
   string userName,
   string password,
   string connectionString,
   SQLAuthentication sqlAuthentication
)

Parameters

providerName
Name of the provider.
userName
Name of the user.
password
The password.
connectionString
The connection string.
sqlAuthentication
The SQL authentication.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also