Share via


SPPersistedObject.Update Method

Include Protected Members
Include Inherited Members

Causes the object to save its state and propagate changes to all the computers in the server farm.

Overload List

  Name Description
Update() Causes the object to save its state and propagate changes to all the computers in the server farm.
Update(Boolean) Causes the object to save its state and propagate changes to all the computers in the server farm based on a Boolean value that specifies whether to raise an exception if the object already exists.

Top

Remarks

Windows SharePoint Services uses optimistic concurrency to synchronize updates to persisted objects. Windows SharePoint Services prevents you from corrupting data if you try to update your object on two servers at once (for example., through the timer service). However, because one of the updates might fail, you should avoid updating objects from an automated process. 

See Also

Reference

SPPersistedObject Class

SPPersistedObject Members

Microsoft.SharePoint.Administration Namespace