다음을 통해 공유


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)

Syntax

'Declaration
Public Sub ValidateBackwardsCompatibility
'Usage
Dim instance As SPPersistedUpgradableObject

instance.ValidateBackwardsCompatibility()
public void ValidateBackwardsCompatibility()

Remarks

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.

See also

Reference

SPPersistedUpgradableObject class

SPPersistedUpgradableObject members

Microsoft.SharePoint.Administration namespace