Share via


SPWorkItemCollection constructor (SPSite, Guid)

Instantiates a new instance of SPWorkItemCollection that specifies the SPSite object, and a uniqe identifier for the work item type for object in the collection.

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

Syntax

'Declaration
Public Sub New ( _
    site As SPSite, _
    workItemType As Guid _
)
'Usage
Dim site As SPSite
Dim workItemType As Guid

Dim instance As New SPWorkItemCollection(site, workItemType)
public SPWorkItemCollection(
    SPSite site,
    Guid workItemType
)

Parameters

  • workItemType
    Type: System.Guid

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

Remarks

Work items are set on an instance of Microsoft.SharePoint.SPSite.

See also

Reference

SPWorkItemCollection class

SPWorkItemCollection members

SPWorkItemCollection overload

Microsoft.SharePoint namespace

Microsoft.SharePoint.Administration.SPContentDatabase

Microsoft.SharePoint.SPSite