共用方式為


SubscriptionThrottle Element (ADF)

Specifies the number of scheduled subscriptions that can be processed during a single generator quantum.

語法

<ApplicationExecutionSettings>
    ...
    <SubscriptionThrottle>

Element Characteristics

Characteristic Description

Data type

Non-negative integer.

Default value

1,000.

Occurrence

Optional once per ApplicationExecutionSettings element.

Updates

Can be added, deleted, and modified when updating the application.

Element Relationships

Relationship Elements

Parent element

ApplicationExecutionSettings Element (ADF)

備註

Use the SubscriptionThrottle element to help guard against an unexpectedly large number of subscriptions entered into the application.

The SubscriptionThrottle value applies to scheduled rules only, not event-triggered rules.

During each quantum, the generator gets the current set of scheduled subscriptions for each subscription class and counts the subscriptions. If the SubscriptionThrottle value is exceeded, the generator abandons the quantum.

If you set the SubscriptionThrottle value to 0, there is no limit to the number of scheduled subscriptions processed from a subscription class during a quantum.

For additional information, see 指定事件、訂閱與通知的流速.

範例

The following example shows how to specify that a maximum of 1500 scheduled subscriptions per subscription class can be processed per quantum.

<SubscriptionThrottle>1500</SubscriptionThrottle>

請參閱

參考

Application Definition File Reference

其他資源

指定事件、訂閱與通知的流速
更新執行個體及應用程式

說明及資訊

取得 SQL Server 2005 協助