다음을 통해 공유


ContentDeploymentConfiguration.BlockMultipleJobsPerPath Property

Gets or sets whether to disallow an execution of multiple ContentDeploymentJob objects along the same ContentDeploymentPath object at the same time.

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

Syntax

'Declaration
Public Property BlockMultipleJobsPerPath As Boolean
    Get
    Set
'Usage
Dim instance As ContentDeploymentConfiguration
Dim value As Boolean

value = instance.BlockMultipleJobsPerPath

instance.BlockMultipleJobsPerPath = value
public bool BlockMultipleJobsPerPath { get; set; }

Property Value

Type: System.Boolean

Remarks

When the value is true, only a single ContentDeploymentJob can run for a specified ContentDeploymentPath at a specified time. That is, if an attempt is made to run a ContentDeploymentJob “A” while Content DeploymentJob “B” is already running along the same ContentDeploymentPath, then the execution of ContentDeploymentJob “A” would be cancelled.

The default value is true.

See Also

Reference

ContentDeploymentConfiguration Class

ContentDeploymentConfiguration Members

Microsoft.SharePoint.Publishing.Administration Namespace

ContentDeploymentJob

ContentDeploymentPath