Partilhar 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)
Available in Sandboxed Solutions: No

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