OccurrenceCount Property
この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。
The SQL Server Agent alert occurrence count represents the number of times the alert has fired after a specific date and time.
構文
object
.OccurrenceCount [= value]
Parts
- object
An expression that evaluates to an object in the Applies To list
- value
A long integer that specifies the number of times a SQL Server Agent alert has been raised after the reset date for the alert
Data Type
Long
Modifiable
Read-only
Prototype (C/C++)
HRESULT GetOccurrenceCount(LPLONG pRetVal);
解説
The CountResetDate property marks date and time for the beginning of counting for a SQL Server Agent alert occurrence count. Use the ResetOccurrenceCount method to set the alert occurrence count to zero.
Applies To:
|
参照
関連項目
CountResetDate Property
ResetOccurrenceCount Method