ListViewWebPart.ListId Property
SharePoint 2010
Gets or sets the GUID of the SPList associated with the ListViewWebPart.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
[WebPartStorageAttribute(Storage.Shared)] [BrowsableAttribute(false)] public Guid ListId { get; set; }