IDbConnection.ConnectionTimeout Property


Updated: February 25, 2016

Gets the time to wait, while trying to establish a connection, before terminating the attempt and generating an error.

Namespace:   Microsoft.ReportingServices.DataProcessing
Assemblies:   Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

int ConnectionTimeout { get; }

Property Value

Type: System.Int32

A value of 0 indicates no limit to the wait time, rather than no wait time, and should be avoided in a ConnectionString because it would cause the connection to attempt to wait indefinitely.

The time (in seconds) to wait for a connection to open. The default value is 15 seconds.

Return to top