title: To increase the timeout period
body: <p>I have to increase timeout period.Following is my code.</p>
  
  <pre><code>Private Function GetConnectionInstance() As SqlConnection
      Dim objConn As SqlConnection
      Dim strConnection As String
      strConnection = ConfigurationSettings.AppSettings("conn")
  
      Try
          objConn = New SqlConnection(strConnection)
      Catch ex As Exception
      End Try
  
      Return objConn
  End Function
  </code></pre>
  
  <p>What code i have to add in above to increase timeout period.</p>