Share via


ContentDeploymentPath.CheckSourceStatus method

Performs a content deployment source status check.

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

Syntax

'Declaration
Public Function CheckSourceStatus ( _
    maxErrors As Integer _
) As ContentDeploymentSourceError()
'Usage
Dim instance As ContentDeploymentPath
Dim maxErrors As Integer
Dim returnValue As ContentDeploymentSourceError()

returnValue = instance.CheckSourceStatus(maxErrors)
public ContentDeploymentSourceError[] CheckSourceStatus(
    int maxErrors
)

Parameters

  • maxErrors
    Type: System.Int32

    The maximum number of errors to be returned.

Return value

Type: []
Errors during status check.

Remarks

This method can be used to check whether a site collection can act as a content deployment source. If there are errors during this check, content deployment fails.

See also

Reference

ContentDeploymentPath class

ContentDeploymentPath members

Microsoft.SharePoint.Publishing.Administration namespace