Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.GuidA System.Guid object that specifies the type of work items in the collection.
Return Value
Type: Microsoft.SharePoint.SPWorkItemCollection