PublishingWeb.EnableScheduling method
Enables scheduling behavior on an SPList object.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Shared Sub EnableScheduling ( _
list As SPList _
)
'Usage
Dim list As SPListPublishingWeb.EnableScheduling(list)
public static void EnableScheduling(
SPList list
)
Parameters
list
Type: Microsoft.SharePoint.SPListThe SPList object on which to enable scheduling
Remarks
The SPList object must have both major and minor (draft) versions enabled, and content approval must be enabled in order for this method to succeed.