WorkItemTimerJobState Constructor (Boolean, Boolean)
Namespace: Microsoft.Office.Server.Utilities
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Sub New ( _
fetchWeb As Boolean, _
fetchUser As Boolean _
)
'Usage
Dim fetchWeb As Boolean
Dim fetchUser As Boolean
Dim instance As New WorkItemTimerJobState(fetchWeb, _
fetchUser)
public WorkItemTimerJobState(
bool fetchWeb,
bool fetchUser
)
Parameters
- fetchWeb
Type: System.Boolean
If true, the Web property is populated for every work item.
- fetchUser
Type: System.Boolean
If true, the User property is populated for every work item.
Remarks
The Web is updated only when it changes. If multiple work itemsare processed consecutively for the same SPWeb object, only the first will query for the web.
The User is updated only when it changed. If multiple work items are procssed consecutively for the same SPUser object, only the first will query for the user.