次の方法で共有


SPDatabaseException class

Represents a database exception that is thrown when Microsoft SQL Server returns an error of any kind, including errors that occur in SharePoint Foundation business logic that is running in SQL Server.

Inheritance hierarchy

System.Object
  System.Exception
    Microsoft.SharePoint.Administration.SPDatabaseException
      Microsoft.SharePoint.Administration.SPConcurrencyException

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

Syntax

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

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

SPDatabaseException members

Microsoft.SharePoint.Administration namespace