Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
deployedSite
Type: Microsoft.SharePoint.SPSiteSite where the items are deployed.
startChangeToken
Type: Microsoft.SharePoint.SPChangeTokenTime when the items will start being viewable.
endChangeToken
Type: Microsoft.SharePoint.SPChangeTokenTime when the items will stop being viewable.
jobStatus
Type: System.StringA string that describes the status of the job.