다음을 통해 공유


WorkItemTimerJobState.Site Property

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.

See Also

Reference

WorkItemTimerJobState Class

WorkItemTimerJobState Members

Microsoft.Office.Server.Utilities Namespace