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 SPListItem class through the ListItem property so that additional SPListItem and 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