ConnectionString.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / System / data / design / ConnectionString.cs / 1 / ConnectionString.cs

                             
//------------------------------------------------------------------------------
// 
//    Copyright (c) Microsoft Corporation. All Rights Reserved.
//    Information Contained Herein is Proprietary and Confidential. 
// 
//----------------------------------------------------------------------------- 
 

namespace System.Data.Design { 
    using System;
    using System.Data;
    using System.Data.Common;
    using System.Collections; 
    using System.Diagnostics;
    using System.Globalization; 
 

 


    internal class ConnectionString {
        private string providerName;      // Invariant name of the ADO.NET provider 
        private string connectionString;
 
 
        public ConnectionString( string providerName, string connectionString ) {
            this.connectionString = connectionString; 
            this.providerName = providerName;
        }

 		//public string ProviderName { 
		//    get {
		//        return this.providerName; 
		//    } 
 		//}
 
        public string ToFullString() {
            return this.connectionString.ToString();
        }
 
    }
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.


                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK