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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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