Share via


SPPersistedObject.Validate method

Validates the state of all fields before persisting the object.

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

Syntax

'Declaration
Protected Overridable Sub Validate
'Usage

Me.Validate()
protected virtual void Validate()

Remarks

An InvalidOperationException is thrown if the object has been deleted.

See also

Reference

SPPersistedObject class

SPPersistedObject members

Microsoft.SharePoint.Administration namespace