ScheduledItem Class

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


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

[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class ScheduledItem

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.

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

Community Additions