DatabaseException Class
NOTE: This API is now obsolete.
Use classes in the Microsoft.SharePoint.Administration namespace in Windows SharePoint Services 3.0 instead.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.SharePoint.Portal.Topology.DatabaseException
Microsoft.SharePoint.Portal.Topology.ConcurrencyException
Namespace: Microsoft.SharePoint.Portal.Topology
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ObsoleteAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class DatabaseException _
Inherits Exception
'Usage
Dim instance As DatabaseException
[ObsoleteAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class DatabaseException : Exception
Remarks
A DatabaseException object reports a problem that occurs while working with the database records that store information about the topology. Possible causes include an unexpected return value or a return value that indicates an error condition for a stored procedure.
To use the properties and methods of the objects in the Microsoft.SharePoint.Portal.Topology namespace you must be a member of the local STS_WPG and SPS_WPG security groups, and a member of the db_owner database role for the configuration database.
In addition for certain methods, such as those that create a portal site, you must be a member of the local Administrators group, and have membership in the Database Creators and Security Administrators server roles in the Microsoft SQL Server instance that hosts the configuration database.
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.