Share via


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

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.

See also

Reference

PublishingWeb class

PublishingWeb members

Microsoft.SharePoint.Publishing namespace