다음을 통해 공유


IDbConnection.ConnectionTimeout 속성

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

네임스페이스:  Microsoft.ReportingServices.DataProcessing
어셈블리:   Microsoft.ReportingServices.Interfaces(Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts(Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

구문

‘선언
ReadOnly Property ConnectionTimeout As Integer 
    Get
‘사용 방법
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

속성 값

유형: 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.

Property Values

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

참고 항목

참조

IDbConnection 인터페이스

Microsoft.ReportingServices.DataProcessing 네임스페이스