Condividi tramite


DelayBetweenResponses Property

Questa funzionalità verrà rimossa in una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

The DelayBetweenResponses property represents the number of seconds SQL Server Agent waits before it generates another response for an alert.

Sintassi

object
.DelayBetweenResponses [=value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    Along integer that specifies a number of seconds to wait

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetDelayBetweenResponses(LPLONG pRetVal);
HRESULT SetDelayBetweenResponses(long NewValue);

Osservazioni

SQL Server Agent sends e-mail or a network pop-up message to an operator, pages an operator, or logs a message in response to a raised alert. An alert can be raised many times in a short period of time. By default, each time the alert is raised, a response is made. Using the DelayBetweenResponses property, the alert can be tailored so that no matter how many times it is raised in a period of time, only a single response is generated.

Applies To:

Alert Object