Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deletes the item from the content database and returns a globally unique identifier (GUID) for the transaction.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function Recycle As Guid
'Usage
Dim instance As SPListItem
Dim returnValue As Guid
returnValue = instance.Recycle()
public Guid Recycle()
Return value
Type: System.Guid
An identifier for the deletion transaction.
Exceptions
Exception | Condition |
---|---|
NotSupportedException | The parent list has an external data source. |