Condividi tramite


SPPersistedObject.Update method

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