Freigeben über


ResetOccurrenceCount-Methode

Resets the alert occurrence count back to zero.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub ResetOccurrenceCount
'Usage
Dim instance As Alert

instance.ResetOccurrenceCount()
public void ResetOccurrenceCount()
public:
void ResetOccurrenceCount()
member ResetOccurrenceCount : unit -> unit 
public function ResetOccurrenceCount()

Hinweise

The ResetOccurrenceCount method: