Disables scheduling behavior on an SPList object.
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
'Declaration Public Shared Sub DisableScheduling ( _ list As SPList _ ) 'Usage Dim list As SPListPublishingWeb.DisableScheduling(list)
public static void DisableScheduling( SPList list )
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.