Partilhar via


SPWorkItemJobDefinition.WorkItemType Method

Returns a globally unique identifier (GUID) that identifies the type of a specified work item (SPWorkItem) or work-item batch.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overridable Function WorkItemType As Guid
'Usage
Dim instance As SPWorkItemJobDefinition
Dim returnValue As Guid

returnValue = instance.WorkItemType()
public virtual Guid WorkItemType()

Return Value

Type: System.Guid
Returns a GUID that specifies the type (Type) of a specified work item (SPWorkItem)

See Also

Reference

SPWorkItemJobDefinition Class

SPWorkItemJobDefinition Members

Microsoft.SharePoint.Administration Namespace

Microsoft.SharePoint.SPWorkItem

SPWorkItem.Type