SqlCeReplication.ConnectionRetryTimeout 속성

연결 설정이 실패한 후 SQL Server Mobile 클라이언트가 계속해서 요청을 다시 보내는 시간(초)을 지정합니다.

네임스페이스: System.Data.SqlServerCe
어셈블리: System.Data.SqlServerCe(system.data.sqlserverce.dll)

구문

‘선언
Public Property ConnectionRetryTimeout As Short
‘사용 방법
Dim instance As SqlCeReplication
Dim value As Short

value = instance.ConnectionRetryTimeout

instance.ConnectionRetryTimeout = value
public short ConnectionRetryTimeout { get; set; }
public:
property short ConnectionRetryTimeout {
    short get ();
    void set (short value);
}
/** @property */
public short get_ConnectionRetryTimeout ()

/** @property */
public void set_ConnectionRetryTimeout (short value)
public function get ConnectionRetryTimeout () : short

public function set ConnectionRetryTimeout (value : short)

속성 값

ConnectionRetryTimeout 값입니다.

설명

ConnectionRetryTimeout 속성을 사용하여 SQL Mobile 클라이언트가 실패한 동기화에서 복구를 시도하는 시간을 지정할 수 있습니다. 이 시간 동안 복구가 발생하면 동기화가 계속됩니다. 연결이 다시 설정되기 전에 연결 재시도 제한 시간이 초과되면 동기화되지 않습니다.

ConnectionRetryTimeout 값은 설정된 연결이 실패할 때만 사용됩니다. 연결을 처음 설정할 때는 사용되지 않습니다.

기타 네트워크 영향 때문에 ConnectionRetryTimeout 설정값은 동기화가 중단되기 전에 실제로 경과하는 시간의 근사치가 됩니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 을(를) 참조하십시오.

플랫폼

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Compact Framework

2.0에서 지원

참고 항목

참조

SqlCeReplication 클래스
SqlCeReplication 멤버
System.Data.SqlServerCe 네임스페이스