Share via


SPProductVersionJobDefinition.NeedToCreateJob property

Indicates whether this job needs to be created or not. When the system timer starts it reads this property to determine if the job needs to be started.

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

Syntax

'Declaration
Public Shared Property NeedToCreateJob As Boolean
    Get
    Set
'Usage
Dim value As Boolean

value = SPProductVersionJobDefinition.NeedToCreateJob

SPProductVersionJobDefinition.NeedToCreateJob = value
public static bool NeedToCreateJob { get; set; }

Property value

Type: System.Boolean
A Boolean value = true if this job needs to be created.

Remarks

Important

On completion of the job this property must be set to false.

See also

Reference

SPProductVersionJobDefinition class

SPProductVersionJobDefinition members

Microsoft.SharePoint.Administration namespace