ADODC.CommandTimeout 속성

정의

서버에서 명령이 반환될 때까지 ADODC가 대기하는 시간(초)을 가져오거나 설정합니다.

public:
 property int CommandTimeout { int get(); void set(int value); };
[Microsoft.VisualBasic.Compatibility.VB6.SRDescription("ADODC_DESCCommandTimeout")]
public int CommandTimeout { get; set; }
[<Microsoft.VisualBasic.Compatibility.VB6.SRDescription("ADODC_DESCCommandTimeout")>]
member this.CommandTimeout : int with get, set
Public Property CommandTimeout As Integer

속성 값

연결이 설정되는 동안 대기할 시간(초)을 지정하는 Integer입니다. 기본값은 15초입니다.

특성

설명

명령을 완료 하지 않고이 기간이 경과한 후 공급자 호출 애플리케이션에서 예외가 발생 하 고 명령을 취소 합니다.

참고

Visual Basic 6.0에서 Visual Basic으로의 업그레이드 도구에서 사용할 수 있도록 Microsoft.VisualBasic.Compatibility.VB6 네임스페이스의 함수 및 개체가 제공됩니다. 이러한 함수와 개체에서 제공하는 대부분의 기능은 .NET Framework의 다른 네임스페이스에서 얻을 수 있는 기능과 동일하므로 이러한 함수와 개체는 Visual Basic 6.0 코드 모델이 .NET Framework 구현과 크게 다른 경우에만 필요합니다.

적용 대상