This topic has not yet been rated - Rate this topic

SPField.Update method (Boolean)

Updates the database with changes that are made to the field and optionally propagates the changes to lists that implement the field.

Namespace:  Microsoft.SharePoint
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.
ExceptionCondition
SPException

An error was encountered during the operation.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.