RetryAttempts özelliği

Bu özellik Microsoft SQL Server'ın ilerideki bir sürümünde kaldırılacaktır. Yeni geliştirme işlerinde bu özelliği kullanmaktan kaçının ve bu özelliği kullanmakta olan uygulamalarda değişiklik yapmayı planlayın.

The RetryAttempts property specifies a number of times SQL Server Agent attempts to execute the referenced job step before reporting step failure.

Sözdizimi

object
.RetryAttempts [= value]

Bölümleri

  • nesne
    Bir nesneye uygulanan listesinde sonucunu veren bir ifade

  • value
    Uzun tamsayı

Veri Türü

Uzun

Değiştirilebilir

Okuma/yazma

Prototip (c/C++)

HRESULT GetRetryAttempts(LPLONG pRetVal);
HRESULT SetRetryAttempts(long NewValue);

Açıklamalar

sql Server Agent iş adımları basit bir mantık belirleme işi yürütme davranış adım başarılı veya başarısız olarak atanır.

If the job step completes successfully on any attempt numbered less than or equal to the value of the RetryAttemptsproperty, job execution branches to follow the on-success action for the step.If execution attempts exceed the value of the RetryAttemptsproperty, job execution branches to follow the on-failure action for the step.

iş adım başarısız olursa ve adım yeniden deneme için işaretlenir, sql Server Agent yürütme girişimleri arasında duraklatabilirsiniz.Daha fazla bilgi için bkz: RetryInterval özelliği.

İçin geçerlidir: