Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the site collection for the current work item.
Namespace: Microsoft.Office.Server.Utilities
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Property Site As SPSite
Get
Set
'Usage
Dim instance As WorkItemTimerJobState
Dim value As SPSite
value = instance.Site
instance.Site = value
public SPSite Site { get; set; }
Property Value
Type: Microsoft.SharePoint.SPSite
Returns SPSite.
Remarks
This is set by the TimerJobUtility object when switching to a new work item if the new work item is for a different SPSite object.