Share via


SPContentDatabaseJobDefinition class

This job is executed by all WFE servers in the farm. Each content database is processed by only one job so that work is distributed across all the running jobs.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPJobDefinition
        Microsoft.SharePoint.Administration.SPPausableJobDefinition
          Microsoft.SharePoint.Administration.SPContentDatabaseJobDefinition
            Microsoft.SharePoint.Administration.SPAllSitesJobDefinition
            Microsoft.SharePoint.Administration.SPFilteredSitesJobDefinition

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

Syntax

'Declaration
<GuidAttribute("66A59C0B-31C7-42FF-B2D4-B62D935BBCF4")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPContentDatabaseJobDefinition _
    Inherits SPPausableJobDefinition
'Usage
Dim instance As SPContentDatabaseJobDefinition
[GuidAttribute("66A59C0B-31C7-42FF-B2D4-B62D935BBCF4")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class SPContentDatabaseJobDefinition : SPPausableJobDefinition

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPContentDatabaseJobDefinition members

Microsoft.SharePoint.Administration namespace