FCFL.NET Common Library - API Reference
ParseConnectionString Method

A valid ADO.NET connection string to parse (in the format of name=value;name2=value2;)
Parses a connection string into name-value pairs
Syntax
'Declaration
 
Public Shared Function ParseConnectionString( _
   ByVal connectStr As String _
) As NameValueCollection
public static NameValueCollection ParseConnectionString( 
   string connectStr
)

Parameters

connectStr
A valid ADO.NET connection string to parse (in the format of name=value;name2=value2;)

Return Value

A NameValueCollection of the name-value pairs contained in the connection string
Remarks
A trailing semi-colon is not required. For more information about the format of the connection string and possible parameters, please see the SqlConnection.ConnectionString property documentation. Oracle and other connection strings follow the same general rules and expose most of the same parameters as a SqlConnection connection string.

Requirements

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

See Also

Reference

DbProvider Class
DbProvider Members
SqlConnection Class
ConnectionString property

 

 


© 2010 Dovetail Software, Inc. - All rights reserved.
- Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
- .NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.

Send comments on this topic.