다음을 통해 공유


IDbCommand.CommandTimeout 속성

Gets or sets the wait time before terminating the attempt to execute a command 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)

구문

‘선언
Property CommandTimeout As Integer 
    Get 
    Set
‘사용 방법
Dim instance As IDbCommand 
Dim value As Integer 

value = instance.CommandTimeout

instance.CommandTimeout = value
int CommandTimeout { get; set; }
property int CommandTimeout {
    int get ();
    void set (int value);
}
abstract CommandTimeout : int with get, set
function get CommandTimeout () : int 
function set CommandTimeout (value : int)

속성 값

유형: System.Int32
The time (in seconds) to wait for the command to execute. The default value is 30 seconds.

주의

Exceptions

Exception type

Condition

ArgumentException

The property value assigned is less than 0.

참고 항목

참조

IDbCommand 인터페이스

Microsoft.ReportingServices.DataProcessing 네임스페이스