共用方式為


SPWorkItemCollection constructor (SPContentDatabase, Guid)

建立新的執行個體的SPWorkItemCollection ,指定內容資料庫,並提供唯一的識別項的集合中物件的工作項目型別。

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

Syntax

'宣告
Public Sub New ( _
    db As SPContentDatabase, _
    workItemType As Guid _
)
'用途
Dim db As SPContentDatabase
Dim workItemType As Guid

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

參數

  • workItemType
    Type: System.Guid

    工作項目集合中指定物件的工作項目類型的 GUID。

請參閱

參照

SPWorkItemCollection class

SPWorkItemCollection members

SPWorkItemCollection overload

Microsoft.SharePoint namespace

Microsoft.SharePoint.Administration.SPContentDatabase