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