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)

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

  • dwColCount
    Type: System.UInt32

    A 32-bit unsigned integer that specifies the number of work item columns.

  • dwRowCount
    Type: System.UInt32

    A 32-bit unsigned integer that specifies the number of work item rows.

  • varWorkItems
    Type: System.Object

    An object that represents the individual work items.

See also

Reference

SPContentDatabase class

SPContentDatabase members

Microsoft.SharePoint.Administration namespace