Show / Hide Table of Contents

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

Reference

DbProvider Class
DbProvider Members

Back to top © 2022 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.