SPContentDatabase.GetActiveWorkItems method
Gets the collection of work items that are associated with the content database based on the specified work item type.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetActiveWorkItems ( _
workItemType As Guid _
) As SPWorkItemCollection
'Usage
Dim instance As SPContentDatabase
Dim workItemType As Guid
Dim returnValue As SPWorkItemCollection
returnValue = instance.GetActiveWorkItems(workItemType)
public SPWorkItemCollection GetActiveWorkItems(
Guid workItemType
)
Parameters
workItemType
Type: System.GuidA System.Guid object that specifies the type of work items in the collection.
Return value
Type: Microsoft.SharePoint.SPWorkItemCollection