EntityConnection.ConnectionTimeout 속성

정의

연결을 설정할 때 연결 시도를 끝내고 오류를 생성하기 전까지 대기할 시간(초)을 가져옵니다.

public:
 virtual property int ConnectionTimeout { int get(); };
public override int ConnectionTimeout { get; }
member this.ConnectionTimeout : int
Public Overrides ReadOnly Property ConnectionTimeout As Integer

속성 값

연결이 열리기 전까지 대기할 시간(초)입니다. 기본값은 기본 데이터 공급자의 기본 제한 시간입니다.

예외

설정한 값이 0보다 작은 경우

설명

기본 데이터 공급자를 알 수 없으면 0이 반환됩니다.

적용 대상