Partilhar via


ContentDeploymentJob.Run Method (Boolean, DateTime)

Runs the ContentDeploymentJob job synchronously or asynchronously and deploys changes that have been made since the specified date and time.

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

Syntax

'Declaration
Public Sub Run ( _
    runAsynchronously As Boolean, _
    deploySinceTime As DateTime _
)
'Usage
Dim instance As ContentDeploymentJob
Dim runAsynchronously As Boolean
Dim deploySinceTime As DateTime

instance.Run(runAsynchronously, deploySinceTime)
public void Run(
    bool runAsynchronously,
    DateTime deploySinceTime
)

Parameters

  • runAsynchronously
    Type: System.Boolean

    A value that specifies whether to run this job asynchronously or synchronously.

  • deploySinceTime
    Type: System.DateTime

    A value that determines whether to deploy changes that have been made since the specified date and time.

See Also

Reference

ContentDeploymentJob Class

ContentDeploymentJob Members

Run Overload

Microsoft.SharePoint.Publishing.Administration Namespace