共用方式為


SPContentDatabase.GetActiveWorkItems method

取得與指定之的工作項目類型為基礎的內容資料庫相關聯的工作項目集合。

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

Syntax

'宣告
Public Function GetActiveWorkItems ( _
    workItemType As Guid _
) As SPWorkItemCollection
'用途
Dim instance As SPContentDatabase
Dim workItemType As Guid
Dim returnValue As SPWorkItemCollection

returnValue = instance.GetActiveWorkItems(workItemType)
public SPWorkItemCollection GetActiveWorkItems(
    Guid workItemType
)

參數

  • workItemType
    Type: System.Guid

    System.Guid物件的集合中指定的工作項目類型。

傳回值

Type: Microsoft.SharePoint.SPWorkItemCollection

請參閱

參照

SPContentDatabase class

SPContentDatabase members

Microsoft.SharePoint.Administration namespace