SPFirstAvailableServiceJobDefinition class

An abstract base class for a timer job that will be run on the first available server where the specified service is provisioned.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPJobDefinition
        Microsoft.SharePoint.Administration.SPPausableJobDefinition
          Microsoft.SharePoint.Administration.SPFirstAvailableServiceJobDefinition
            Microsoft.SharePoint.Administration.SPDeleteJobHistoryJobDefinition

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

Syntax

'Declaration
<GuidAttribute("D4BEAC61-D6CC-4BFA-B448-C59B0800CEC2")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPFirstAvailableServiceJobDefinition _
    Inherits SPPausableJobDefinition
'Usage
Dim instance As SPFirstAvailableServiceJobDefinition
[GuidAttribute("D4BEAC61-D6CC-4BFA-B448-C59B0800CEC2")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class SPFirstAvailableServiceJobDefinition : 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

SPFirstAvailableServiceJobDefinition members

Microsoft.SharePoint.Administration namespace