SPRunningJobCollection.Service Property
NOTE: This API is now obsolete.
Gets the parent SPService object.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("Use Parent as SPService instead.", False)> _
Public ReadOnly Property Service As SPService
Get
'Usage
Dim instance As SPRunningJobCollection
Dim value As SPService
value = instance.Service
[ObsoleteAttribute("Use Parent as SPService instead.", false)]
public SPService Service { get; }
Property Value
Type: Microsoft.SharePoint.Administration.SPService
Represents a farm-wide service.
Remarks
If there is no Web application, this object represents the parent of the running job located at this index in the collection.
See Also
Reference
SPRunningJobCollection Members