共用方式為


SPUpgradeCompatibilityException Class

Represents an exception that occurs during upgrade when the front-end Web server attempts to connect to an incompatible database.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SharePoint.Upgrade.SPUpgradeException
      Microsoft.SharePoint.Upgrade.SPUpgradeCompatibilityException

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPUpgradeCompatibilityException _
    Inherits SPUpgradeException
'Usage
Dim instance As SPUpgradeCompatibilityException
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPUpgradeCompatibilityException : SPUpgradeException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPUpgradeCompatibilityException Members

Microsoft.SharePoint.Upgrade Namespace