다음을 통해 공유


SPAdministrationServiceJobDefinition Class

A specialized timer job definition that invokes the SharePoint Administration Service.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPJobDefinition
        Microsoft.SharePoint.Administration.SPAdministrationServiceJobDefinition
          Microsoft.SharePoint.Administration.SPServiceInstanceJobDefinition
          Microsoft.SharePoint.Administration.SPUpgradeJobDefinition

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

Syntax

'Declaration
<GuidAttribute("8B686CB8-5D39-4307-9DD5-0EEEBBD00ADC")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPAdministrationServiceJobDefinition _
    Inherits SPJobDefinition
'Usage
Dim instance As SPAdministrationServiceJobDefinition
[GuidAttribute("8B686CB8-5D39-4307-9DD5-0EEEBBD00ADC")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class SPAdministrationServiceJobDefinition : SPJobDefinition

Remarks

This type of timer job an only be created by a user who has administrative privileges. Further, this type of job will not run if the Administration service is disabled on the local computer at the time that the timer service picks up the new job.

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

SPAdministrationServiceJobDefinition Members

Microsoft.SharePoint.Administration Namespace