Compartilhar 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
Public method Update() Causes the object to save its state and propagate changes to all the computers in the server farm.
Public method Update(Boolean) Causes the object to save its state and propagate changes to all the computers in the server farm, optionally throwing an exception if the object already exists in the configuration store.

Top

Remarks

Microsoft SharePoint Foundation uses optimistic concurrency to synchronize updates to persisted objects. You are prevented 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