Share via


SPImportObject.TargetName Property

Gets or sets the name of the target of the import operation. This property is only valid for objects that have the object type Web.

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

Syntax

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

value = instance.TargetName

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

Property Value

Type: System.String
Returns a string representation of the target name.

See Also

Reference

SPImportObject Class

SPImportObject Members

Microsoft.SharePoint.Deployment Namespace

Microsoft.SharePoint.Deployment.SPDeploymentObjectType