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
db
Type: Microsoft.SharePoint.Administration.SPContentDatabaseContent database (Microsoft.SharePoint.Administration.SPContentDatabase) associated with the work item collection.
workItemType
Type: System.GuidGUID that specifies the work item type for objects in the work item collection.