Share via


SPImportObject.TargetParentUrl property

Gets or sets the URL to the parent of the import object on the destination site collection.

Namespace:  Microsoft.SharePoint.Deployment
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property TargetParentUrl As String
    Get
    Set
'Usage
Dim instance As SPImportObject
Dim value As String

value = instance.TargetParentUrl

instance.TargetParentUrl = value
public string TargetParentUrl { get; set; }

Property value

Type: System.String
Returns a string representation of the URL.

Remarks

This is a required property. The import operation throws an ArgumentNullException if this value is a null reference (Nothing in Visual Basic).

See also

Reference

SPImportObject class

SPImportObject members

Microsoft.SharePoint.Deployment namespace