SPField.Update method (Boolean)
SharePoint 2013
Updates the database with changes that are made to the field and optionally propagates the changes to lists that implement the field.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ClientCallableExceptionConstraintAttribute(FixedId = "2", ErrorCode = , Condition = "Tying to un-index a field which does not allow duplicate values.", ErrorType = typeof(SPException))] [ClientCallableExceptionConstraintAttribute(FixedId = "6", ErrorCode = , Condition = "Trying to change the type of a field which is also changing to be indexed or which is already indexed.", ErrorType = typeof(SPException))] [ClientCallableAttribute(Name = "UpdateAndPushChanges", ClientLibraryTargets = ClientLibraryTargets.NonRESTful)] [ClientCallableExceptionConstraintAttribute(FixedId = "3", ErrorCode = , Condition = "Trying to change the type of a field which does not allow duplicate values.", ErrorType = typeof(SPException))] public void Update( bool pushChangesToLists )
Parameters
- pushChangesToLists
- Type: System.Boolean
true to propagate changes to lists that implement the field; otherwise, false.