SPPersistedObject.Validate Method

Validates the state of all fields before persisting the object.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ProtectedMethod)]
protected virtual void Validate()

An InvalidOperationException is thrown if the object has been deleted.

Show: