Share via


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:

Alert Object

 

참고 항목

참조

CountResetDate Property
ResetOccurrenceCount Method

도움말 및 정보

SQL Server 2005 지원 받기