Share via


Notification Services 預存程序 (Transact-SQL)

Microsoft SQL Server 2005 Notification Services 中有許多管理、偵錯和疑難排解活動,可以透過預存程序加以執行。這些公開的預存程序是以下表所示的類別目錄加以分組。

管理和報告預存程序

NSAdministrationHistory

NSSnapshotEvents

NSSnapshotApplications

NSSnapshotProviders

NSSnapshotDeliveryChannels

NSSnapshotSubscriptions

NSVacuum

 

偵錯預存程序

NSExecuteRuleFiring

NSSetQuantumClock

NSPrepareRuleFiring

NSSetQuantumClockDate

事件提交預存程序

NSEventBeginBatch<EventClassName>

NSEventSubmitBatch<EventClassName>

NSEventFlushBatch<EventClassName>

NSEventWrite<EventClassName>

疑難排解和分析預存程序

NSDiagnosticDeliveryChannel

NSQuantumDetails

NSDiagnosticEventClass

NSQuantumExecutionTime

NSDiagnosticEventProvider

NSQuantumFailures

NSDiagnosticFailedNotifications

NSQuantumList

NSDiagnosticNotificationClass

NSQuantumPerformance

NSDiagnosticSubscriptionClass

NSQuantumsSkipped

NSEventBatchDetails

NSScheduledSubscriptionDetails

NSEventBatchList

NSScheduledSubscriptionList

NSNotificationBatchDetails

NSSubscriptionConditionInformation

NSNotificationBatchList

 

ms178571.note(zh-tw,SQL.90).gif附註:
除非另外指出,否則 Notification Services 中的 datetime 值皆採用國際標準時間 (UTC)。
ms178571.note(zh-tw,SQL.90).gif附註:
除非另外指出,否則所有系統預存程序都會傳回 0 值表示成功,傳回非零值表示失敗。

其他 Notification Services 預存程序

執行個體資料庫和應用程式資料庫,都包含未記錄在這個預存程序參考中的預存程序。未記錄的預存程序僅供內部使用。您無法從應用程式明確呼叫它們,而且此舉可能會在 Notification Services 應用程式產生無法預期的行為。

請參閱

參考

系統預存程序 (Transact-SQL)
Notification Services 檢視

其他資源

監視 Notification Services 效能與活動

說明及資訊

取得 SQL Server 2005 協助