PublishingWeb.DisableScheduling method

Disables scheduling behavior on an SPList object.

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


Public Shared Sub DisableScheduling ( _
    list As SPList _
Dim list As SPListPublishingWeb.DisableScheduling(list)
public static void DisableScheduling(
    SPList list



If scheduling is already disabled on the SPList object, then this method will have no effect. 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


PublishingWeb class

PublishingWeb members

Microsoft.SharePoint.Publishing namespace