View.Update method
Commits changed properties of the list view.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Sub Update
'Usage
Dim instance As View
instance.Update()
public void Update()
Exceptions
Exception | Condition |
---|---|
SPException | Page containing the list view is not checked out. Error code: -2147024738. |
SPException | Updates to the site are not allowed. Error code: -2147024684. |
SPException | Site collection quota is reached. Error code: -2147023080. |
SPException | Page containing the list view is currently checked out or locked for editing by another user. Error code: -2130575306. |
InvalidOperationException | List view does not exist. Error code: -1. |
DirectoryNotFoundException | List view does not exist. Error code: -2147024893. |
UnauthorizedAccessException | The current user has insufficient permissions. Error code: -2147024891. |
Remarks
Call this method to save the changes in the View object to the database.