SPJobDefinition properties

The SPJobDefinition type exposes the following members.

Properties

  Name Description
Public property CanRenameOnRestore Gets a Boolean value that indicates whether this object can be renamed at restore time.
Public property CanSelectForBackup Gets and sets a Boolean value that indicates whether this object can be selected for backup.
Public property CanSelectForRestore Gets and sets a Boolean value that indicates whether this object can be selected for backup.
Public property DeploymentLocked (Inherited from SPPersistedObject.)
Public property Description Gets a localized description of the job definition.
Public property DiskSizeRequired Gets the disk sized required for backup.
Public property DisplayName Gets the localized name of the job definition. (Overrides SPPersistedObject.DisplayName.)
Public property EnableBackup Gets a Boolean value that indicates whether the job can be involved in the backup/restore process.
Public property Farm Gets the server farm where the object resides. (Inherited from SPPersistedObject.)
Public property HistoryEntries Enumerate the job history entries for this job definition.
Public property Id Gets or sets the GUID that is associated with the object. (Inherited from SPPersistedObject.)
Public property IsDisabled Gets or sets whether the job definition should be disabled.
Public property IsServiceJob
Public property LastRunTime Gets the last run time of the job definition.
Public property LockType Gets the lock type for the job definition.
Public property Name Gets or sets a name that is used to uniquely identify two objects that have the same parent and class. (Inherited from SPPersistedObject.)
Public property Parent Gets the parent in the logical hierarchy of the configuration object tree. (Inherited from SPPersistedObject.)
Public property Properties Gets metadata for the persisted object. (Inherited from SPPersistedObject.)
Public property Retry Gets or sets whether the job definition should be retried if it ends abnormally.
Public property Schedule Gets or sets the schedule of the job definition.
Public property Server Gets the server of the job definition.
Public property Service Gets the service for this job definition.
Public property Status Gets or sets the status of the object that the class represents. (Inherited from SPPersistedObject.)
Public property Title Gets or sets the title of the job definition.
Public property TypeName Gets the display name that describes the object type in the administrative user interface. (Inherited from SPPersistedObject.)
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)
Public property VerboseTracingEnabled Gets and sets a Boolean value that indicates whether verbose tracing is enabled.
Public property Version Gets a value that is incremented each time the object is updated. (Inherited from SPPersistedObject.)
Protected property WasCreated Gets a Boolean value that indicates whether the object is initialized and can be found in the database. (Inherited from SPPersistedObject.)
Public property WebApplication Gets the web application for this job definition.

Top

See also

Reference

SPJobDefinition class

Microsoft.SharePoint.Administration namespace