共用方式為


如何變更評估警示的頻率

以預設設定部署時,有時候 SQL Notification Services 產生器可能無法跟上 BAM 事件提供者引發事件的速度。 您可以修改 Notification Services 的 adf.xml 檔案,針對警示增加評估事件的頻率 (配量持續時間)。

必要條件

若要執行此程式,您必須以具有讀取和寫入主要匯入資料庫許可權的BizTalk Server群組成員身分登入,這通常是系統管理員群組BizTalk Server。

若要修改 Notification Services 產生器配量持續時間

  1. 開啟 [Notification Services 命令提示字元]。 依序按一下[開始]、[所有程式]、[Microsoft SQL Server 2005]、[組態工具],然後按一下 [通知服務命令提示字元]。

  2. 取得 Notification Services 的組態檔。 在命令提示字元中,輸入:cscript ProcessBamNSFiles.vbs -Get config.xml adf.xml < PimaryImport 資料庫伺服器 >< PimaryImport 資料庫名稱 >

  3. 在 adf.xml 檔案中的 ApplicationExecutionSettings > 節點下 < 修改或新增 < QuantumDuration > 元素。 如需 QuantumDuration 元素的詳細資訊,請參閱 https://go.microsoft.com/fwlink/?LinkId=78803

  4. 在命令提示字元中,輸入:cscript ProcessBamNSFiles.vbs -Update config.xml adf.xml < PimaryImport 資料庫伺服器 >< PimaryImport 資料庫名稱 > 。

另請參閱

Notification Services 設定檔的 BAM 命令列指令碼