Share via


HealthRuleRunNowButton.OnClick Method

Handles the click event of a Run Now button.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Overrides Sub OnClick ( _
    e As EventArgs _
)
'Usage
Dim e As EventArgs

Me.OnClick(e)
protected override void OnClick(
    EventArgs e
)

Parameters

Remarks

If a timer job for the rule does not already exist, one is created. In any case, the button is disabled after the click event occurs.

See Also

Reference

HealthRuleRunNowButton Class

HealthRuleRunNowButton Members

Microsoft.SharePoint.WebControls Namespace