SPDatabaseException members

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.

The SPDatabaseException type exposes the following members.

Constructors

  Name Description
Public method SPDatabaseException() Initializes a new instance of the SPDatabaseException class.
Public method SPDatabaseException(String) Initializes a new instance of the SPDatabaseException class.
Public method SPDatabaseException(String, Exception) Initializes a new instance of the SPDatabaseException class based on the specified error string and exception.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Events

  Name Description
Protected event SerializeObjectState (Inherited from Exception.)

Top

See also

Reference

SPDatabaseException class

Microsoft.SharePoint.Administration namespace