Gets the connection string.
Syntax
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)
|
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