SPContentDatabase.GetWorkItems Method
Returns the individual work items, number of columns, and number of rows in the specified work item collection as output parameters.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub GetWorkItems ( _
workItems As SPWorkItemCollection, _
<OutAttribute> ByRef dwColCount As UInteger, _
<OutAttribute> ByRef dwRowCount As UInteger, _
<OutAttribute> ByRef varWorkItems As Object _
)
'Usage
Dim instance As SPContentDatabase
Dim workItems As SPWorkItemCollection
Dim dwColCount As UInteger
Dim dwRowCount As UInteger
Dim varWorkItems As Object
instance.GetWorkItems(workItems, dwColCount, _
dwRowCount, varWorkItems)
public void GetWorkItems(
SPWorkItemCollection workItems,
out uint dwColCount,
out uint dwRowCount,
out Object varWorkItems
)
Parameters
workItems
Type: Microsoft.SharePoint.SPWorkItemCollectionAn SPWorkItemCollection object that represents the work items.
dwColCount
Type: System.UInt32A 32-bit unsigned integer that specifies the number of work item columns.
dwRowCount
Type: System.UInt32A 32-bit unsigned integer that specifies the number of work item rows.
varWorkItems
Type: System.ObjectAn object that represents the individual work items.