SPList.Recycle SPList.Recycle SPList.Recycle SPList.Recycle Method

Definition

public:
 Guid Recycle();
[Microsoft.SharePoint.Client.ClientCallableExceptionConstraint(Condition="This list cannot be deleted because it has related lists with relationship behavior constraints.", ErrorCode=-2130575157, ErrorType=typeof(Microsoft.SharePoint.SPException), FixedId="a")]
[Microsoft.SharePoint.Client.ClientCallableExceptionConstraint(Condition="The list can not be deleted.", ErrorCode=-2130575299, ErrorType=typeof(Microsoft.SharePoint.SPException), FixedId="listuniquenotdeletable")]
[Microsoft.SharePoint.Client.ClientCallableExceptionConstraint(Condition="The list can not be deleted.", ErrorCode=-2147016498, ErrorType=typeof(Microsoft.SharePoint.SPException), FixedId="listnotdeletable")]
[Microsoft.SharePoint.Client.ClientCallableMethod(RemoveThisObjectFromParentCollection=true)]
public Guid Recycle ();
member this.Recycle : unit -> Guid
Public Function Recycle () As Guid

Returns

Applies to