ListViewWebPart.ViewId Property
SharePoint 2010
Gets or sets the view identifier (ID) for the ListViewWebPart.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
[WebBrowsableAttribute(false)] [BrowsableAttribute(false)] [WebPartStorageAttribute(Storage.None)] public int ViewId { get; set; }