> Dispose() also clears the connection string. Does that have an affect on the connection pool?
Dan Green [ http://dotnetdan.com -- putting the dan in .net ] > -----Original Message----- > From: The DOTNET list will be retired 7/1/02 > [mailto:[EMAIL PROTECTED]] On Behalf Of Ian Griffiths > Sent: Friday, 14 June 2002 6:37 PM > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] ADO.NET and Dispose > > "Kevin E. Kenny" <[EMAIL PROTECTED]> wrote: > > > Where there is a Close() it will invariably call Dispose(). > > For SqlConnection that's not quite true. Close() doesn't call Dispose(). > But Dispose() does call Close(). Dispose() also clears the connection > string. > > > -- > Ian Griffiths > DevelopMentor > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.