Schedule Element for HostedProvider (ADF)

Contains elements that define the schedule for a hosted event provider.

语法

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

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Optional once per HostedProvider element.

Updates

Can be added and deleted when updating the application.

Element Relationships

Relationship Elements

Parent element

HostedProvider Element (ADF)

Child elements

StartTime Element for HostedProvider/Schedule (ADF)

Interval Element (ADF)

备注

The event provider schedule determines when and how often SQL Server 2005 Notification Services invokes the hosted event provider. If no schedule is provided, Notification Services invokes the event provider once; the event provider manages its own activity after this invocation.

示例

The following example shows how to specify StartTime and Interval values for an event provider.

<Schedule>
    <StartTime>22:00:00</StartTime>
    <Interval>P0DT00H05M00S</Interval>
</Schedule>

请参阅

参考

Application Definition File Reference

其他资源

定义宿主事件提供程序
更新实例和应用程序

帮助和信息

获取 SQL Server 2005 帮助