System.Data.SqlClient.SqlConnection.SqlConnection.SetDefaultConnectionParameters C# (CSharp) Method

SetDefaultConnectionParameters() private method

private SetDefaultConnectionParameters ( ) : void
return void
		void SetDefaultConnectionParameters ()
		{
			if (parms == null)
				parms = new TdsConnectionParameters ();
			else
				parms.Reset ();
			dataSource = string.Empty;
			connectionTimeout = DEFAULT_CONNECTIONTIMEOUT;
			connectionReset = true;
			pooling = true;
			maxPoolSize = DEFAULT_MAXPOOLSIZE;
			minPoolSize = DEFAULT_MINPOOLSIZE;
			packetSize = DEFAULT_PACKETSIZE;
			port = DEFAULT_PORT;
 #if NET_2_0
			async = false;
 #endif
		}