ListViewWebPart.WebId Property
Gets or sets the GUID of the SPWeb to which the ListViewWebPart belongs.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Gets or sets the GUID of the SPWeb to which the ListViewWebPart belongs.