Share via


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

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.Guid

    A System.Guid object that specifies the type of work items in the collection.

Return Value

Type: Microsoft.SharePoint.SPWorkItemCollection

See Also

Reference

SPContentDatabase Class

SPContentDatabase Members

Microsoft.SharePoint.Administration Namespace