ValidateBackwardsCompatibility method
Collapse the table of content
Expand the table of content

SPPersistedUpgradableObject.ValidateBackwardsCompatibility method

Validates the backward compatibility of the content database schema for the DLLs on the Web front end. This method is called each time a connection is made to the content database to verify that the database schema is compatible.

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

public void ValidateBackwardsCompatibility()

Running a query on a content database with an incompatible schema can irrevocably corrupt user data.

This method can be called only one time for a given process. If a call was already made to this method for the current process, a second call to this method has no effect.

© 2016 Microsoft