Aracılığıyla paylaş


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)
Available in Sandboxed Solutions: No

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