다음을 통해 공유


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

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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