LongRunningOperationStatus.GetAllJobs Method
Gets a LongRunningOperationStatus for each of the entries in the top-level Web site's long-running operation status list.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Shared Function GetAllJobs ( _
site As SPSite _
) As LongRunningOperationStatus()
'Usage
Dim site As SPSite
Dim returnValue As LongRunningOperationStatus()
returnValue = LongRunningOperationStatus.GetAllJobs(site)
public static LongRunningOperationStatus[] GetAllJobs(
SPSite site
)
Parameters
site
Type: Microsoft.SharePoint.SPSiteSite that the job is running on.
Return Value
Type: []
A reference to an array of LongRunningOperationStatus objects.
See Also
Reference
LongRunningOperationStatus Class