Share via


SP.View.deleteObject() Method

Applies to: SharePoint Foundation 2010

Deletes the list view.

SP.View.deleteObject();

Applies To

SP.View Class

Exceptions

  • [Microsoft.SharePoint.SPException]
    List view does not exist. Error code: -2130575320.
  • [System.UnauthorizedAccessException]
    The current user has insufficient permissions. Error code: -2147024891.

See Also

Reference

SP.View Methods

SP.View Properties

SP Namespace