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