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을 반환합니다.

적용 대상