Share via


SPJobDefinition.Validate method

Validates the state of the job definition before persisting the object.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Overrides Sub Validate
'Usage

Me.Validate()
protected override void Validate()

Exceptions

Exception Condition
SPException

Thrown when properties of the job definition are not valid.

See also

Reference

SPJobDefinition class

SPJobDefinition members

Microsoft.SharePoint.Administration namespace