SPListItem.UnlinkFromCopySource method
SharePoint 2013
Clears the source item URL if the item results from a copy operation.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
| Exception | Condition |
|---|---|
| ArgumentException | The item does not have a source URL. |
Using this 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 this method clears this URL.