Share via


SPWorkItemCollection constructor (SPContentDatabase, Guid)

Creates a new instance of SPWorkItemCollection that specifies the content database and provides a unique identifier for the work item type for objects in the collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    db As SPContentDatabase, _
    workItemType As Guid _
)
'Usage
Dim db As SPContentDatabase
Dim workItemType As Guid

Dim instance As New SPWorkItemCollection(db, workItemType)
public SPWorkItemCollection(
    SPContentDatabase db,
    Guid workItemType
)

Parameters

  • workItemType
    Type: System.Guid

    GUID that specifies the work item type for objects in the work item collection.

See also

Reference

SPWorkItemCollection class

SPWorkItemCollection members

SPWorkItemCollection overload

Microsoft.SharePoint namespace

Microsoft.SharePoint.Administration.SPContentDatabase