ConstructConnectionString Method
The set of keys and values that will make up the connection string where key and value are: key=value;
Constructs a valid ADO.NET-compliant connection string from the supplied key/value pairs.
Syntax
'Declaration
Public Shared Function ConstructConnectionString( _
ByVal _keyValues_ As NameValueCollection _
) As String
public static string ConstructConnectionString(
NameValueCollection _keyValues_
)
Parameters
keyValues
The set of keys and values that will make up the connection string where key and value are: key=value;
Return Value
A properly formatted ADO.NET-compliant connection string.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family