Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

SPPersistedObject.Update Method (Boolean)

Windows SharePoint Services 3

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.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public virtual void Update(
	bool ensure
)

Parameters

ensure
Type: System.Boolean
If true, the method does not raise an exception if the object exists and reinitializes the object with the existing object's data; otherwise, false.

Community Additions

ADD
Show:
© 2015 Microsoft