Interval Element (ADF)

Specifies how frequently, after the initial start time, the event provider runs.

Синтаксис

<Providers>
    <HostedProvider>
        ...
        <Schedule>
            ...
            <Interval>

Element Characteristics

Characteristic Description

Data type

duration.

Default value

None.

Occurrence

Required once per /HostedProvider/Schedule element.

Updates

Can be modified, but not added or deleted, when updating the application.

Element Relationships

Relationship Elements

Parent element

Schedule Element for HostedProvider (ADF)

Child elements

None.

Замечания

The format of the XML duration data type is PnYnMnDTnHnMnS. For more information about XML data types, see Primitive XML Data Types in the MSDN Library.

ms146582.note(ru-ru,SQL.90).gifВажно!
If you specify a StartTime value, the Interval value must divide evenly into a 24-hour period. For instance, 15 minutes is a valid interval, causing the event provider to run 96 times within a 24-hour period. However, 14 minutes is not a valid interval, because it does not divide evenly into a 24-hour period.

Пример

The following example shows how to specify that Notification Services should run the hosted event provider every 2 minutes.

<Interval>P0DT00H02M00S</Interval>

См. также

Справочник

Application Definition File Reference

Другие ресурсы

Определение внутрипроцессных поставщиков событий
Обновление экземпляров и приложений

Справка и поддержка

Получение помощи по SQL Server 2005