SPPersistedObject.Validate Method
Validates the state of all fields before persisting the object.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Validates the state of all fields before persisting the object.