Export (0) Print
Expand All

ScheduledItem class

Provides a wrapper that includes scheduling-specific behavior for items in the SPListItem class.

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

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

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
PublicClassScheduledItem
'Usage
DiminstanceAsScheduledItem

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.

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

Show:
© 2014 Microsoft