SPListItem.UnlinkFromCopySource Method

Clears the source item URL if the item results from a copy operation.

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

Syntax

Public Sub UnlinkFromCopySource

Dim instance As SPListItem

instance.UnlinkFromCopySource()
public void UnlinkFromCopySource()

Remarks

Using the UnlinkFromCopySource method is equivalent to clicking Unlink from Source on the View Properties page, but not removing the Copy Destination from the source item.

If the item results from a copy operation, the CopySource property contains the URL of the source item and the UnlinkFromCopySource method clears this URL.

See Also

Reference

SPListItem Class

SPListItem Members

Microsoft.SharePoint Namespace