Share via


ContentMigrationSettings.DestinationType Property

Defines whether the migration is export only, import only, or export and import.

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

Syntax

'Declaration
Public Property DestinationType As MigrationDestinationType
    Get
    Set
'Usage
Dim instance As ContentMigrationSettings
Dim value As MigrationDestinationType

value = instance.DestinationType

instance.DestinationType = value
public MigrationDestinationType DestinationType { get; set; }

Property Value

Type: Microsoft.SharePoint.Publishing.Administration.MigrationDestinationType
An ExportOnly value or ImportOnly or ExportAndImport.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The argument is out of range.

See Also

Reference

ContentMigrationSettings Class

ContentMigrationSettings Members

Microsoft.SharePoint.Publishing.Administration Namespace