Compartir a través de


IDbConnection.ConnectionTimeout Propiedad

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

Espacio de nombres:  Microsoft.ReportingServices.DataProcessing
Ensamblados:   Microsoft.ReportingServices.Interfaces (en Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (en Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Sintaxis

'Declaración
ReadOnly Property ConnectionTimeout As Integer 
    Get
'Uso
Dim instance As IDbConnection 
Dim value As Integer 

value = instance.ConnectionTimeout
int ConnectionTimeout { get; }
property int ConnectionTimeout {
    int get ();
}
abstract ConnectionTimeout : int
function get ConnectionTimeout () : int

Valor de la propiedad

Tipo: System.Int32

Comentarios

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.

Property Values

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

Vea también

Referencia

IDbConnection Interfaz

Espacio de nombres Microsoft.ReportingServices.DataProcessing