ScheduledItem Class

The ScheduledItem class provides a wrapper that includes scheduling-specific behavior for items in the SPListItem class.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Publishing.ScheduledItem
    Microsoft.SharePoint.Publishing.PublishingPage

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class ScheduledItem
'Usage
Dim instance As ScheduledItem
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class ScheduledItem

Remarks

A ScheduledItem item is visible on the published site only between the scheduled start date (StartDate) and end date (EndDate).

The ScheduledItem class wraps the SPListItem class. It also directly exposes the underlying SPListItemclass through the ListItem property so that additional SPListItemand SPFile() functionality can be easily accessed.

This class can be instantiated by using the static GetScheduledItem method.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ScheduledItem Members

Microsoft.SharePoint.Publishing Namespace