PublishingWeb.DisableScheduling method

Disables scheduling behavior on an SPList object.

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

public static void DisableScheduling(
	SPList list


Type: Microsoft.SharePoint.SPList

The SPList object on which to disable scheduling

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.