Partilhar via


ScheduledItem.EnableSchedulingOnDeployedItems Method

Enables deployed list items to be visible based on a schedule.

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

Syntax

'Declaration
Public Shared Sub EnableSchedulingOnDeployedItems ( _
    deployedSite As SPSite, _
    startChangeToken As SPChangeToken, _
    endChangeToken As SPChangeToken, _
    jobStatus As String _
)
'Usage
Dim deployedSite As SPSite
Dim startChangeToken As SPChangeToken
Dim endChangeToken As SPChangeToken
Dim jobStatus As StringScheduledItem.EnableSchedulingOnDeployedItems(deployedSite, _
    startChangeToken, endChangeToken, _
    jobStatus)
public static void EnableSchedulingOnDeployedItems(
    SPSite deployedSite,
    SPChangeToken startChangeToken,
    SPChangeToken endChangeToken,
    string jobStatus
)

Parameters

  • jobStatus
    Type: System.String

    A string that describes the status of the job.

See Also

Reference

ScheduledItem Class

ScheduledItem Members

Microsoft.SharePoint.Publishing Namespace