Share via


SPCopyDestination.Url property

Gets or sets the full URL of the copy destination.

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

Syntax

'Declaration
Public Property Url As String
    Get
    Set
'Usage
Dim instance As SPCopyDestination
Dim value As String

value = instance.Url

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

Property value

Type: System.String
A string that represents the URL.

Remarks

Use the FolderUrl property to get the URL of the destination folder without document name. Use the LeafName property to get the document name only.

See also

Reference

SPCopyDestination class

SPCopyDestination members

Microsoft.SharePoint namespace