PublishingWeb.DisableScheduling Method

Disables scheduling behavior on an SPList object.

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

Syntax

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

Parameters

Remarks

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

Reference

PublishingWeb Class

PublishingWeb Members

Microsoft.SharePoint.Publishing Namespace