SPList.Recycle method

Recycles the list and returns the list's globally unique identifier (GUID).

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

Syntax

public Guid Recycle()

Return value

Type: System.Guid
A System.Guid object that identifies the list.

See also

Reference

SPList class

SPList members

Microsoft.SharePoint namespace