Partilhar via


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)
Available in Sandboxed Solutions: No

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