Share via


ContentDeploymentPath class

Represents the configuration of content deployment between one source site and one target site. This class cannot be inherited.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Publishing.ListItemWrapper
    Microsoft.SharePoint.Publishing.DisposableListItemWrapper
      Microsoft.SharePoint.Publishing.Administration.ContentDeploymentPath

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class ContentDeploymentPath _
    Inherits DisposableListItemWrapper
'Usage
Dim instance As ContentDeploymentPath
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class ContentDeploymentPath : DisposableListItemWrapper

Remarks

The ContentDeploymentPath class is a wrapper to a SPListItem object that stored the content deployment path information in a list. Multiple content deployment jobs can be created that are based on a content deployment path in order to schedule content deployment between the sites that are specified in the content deployment path.

A content deployment path has the following properties.

Property name

Description

Name

The name of the content deployment path.

Description

Text describing the content deployment path.

SourceServerUri

The URI for the source server.

SourceSiteCollection

The source site collection from which the content is deployed.

DestinationAdminServerUri

The URI for the destination server.

DestinationSiteCollection

The destination site collection to which the content is deployed.

IncludeUserInfoDateTime

Gets or sets the SPImportUserInfoDateTimeOption for this content deployment path.

IncludeSecurity

Gets or sets the SPIncludeSecurity property for this content deployment path.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

ContentDeploymentPath members

Microsoft.SharePoint.Publishing.Administration namespace