SPView.Update Method

Updates the database with changes that are made to the view.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[ClientCallableExceptionConstraintAttribute(FixedId = "docnotlocked", ErrorCode = , Condition = "The view is not checked out. You must first check out this document before making changes.", 
	ErrorType = typeof(SPException))]
[ClientCallableExceptionConstraintAttribute(FixedId = "accessdenied", Condition = "Lack of permissions to perform the write operation.", 
	ErrorType = typeof(UnauthorizedAccessException))]
[ClientCallableExceptionConstraintAttribute(FixedId = "viewdne1", Condition = "View does not exist.", 
	ErrorType = typeof(InvalidOperationException))]
[ClientCallableExceptionConstraintAttribute(FixedId = "viewdne2", Condition = "View does not exist.", 
	ErrorType = typeof(DirectoryNotFoundException))]
[ClientCallableExceptionConstraintAttribute(FixedId = "doclocked", ErrorCode = , Condition = "The view is currently checked out or locked for editing by another user.", 
	ErrorType = typeof(SPException))]
[ClientCallableExceptionConstraintAttribute(FixedId = "webnoquota", ErrorCode = , Condition = "Your changes could not be saved because this SharePoint Web site has exceeded the storage quota limit.", 
	ErrorType = typeof(SPException))]
[ClientCallableExceptionConstraintAttribute(FixedId = "weblocked", ErrorCode = , Condition = "Additions to this Web site have been blocked.", 
	ErrorType = typeof(SPException))]
public void Update()


The view does not exist in the database.

Call this method to save the changes in the SPView object to the database.