Partager via


DatabaseException, classe (Microsoft.SharePoint.Portal.Topology)

Obsolète.  

Use classes in the Microsoft.SharePoint.Administration namespace in Windows SharePoint Services 3.0 instead.

Espace de noms : Microsoft.SharePoint.Portal.Topology
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
<ObsoleteAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public Class DatabaseException
    Inherits Exception
'Utilisation
Dim instance As DatabaseException
[ObsoleteAttribute] 
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
public class DatabaseException : Exception

Remarques

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.

Hiérarchie d'héritage

System.Object
   System.Exception
    Microsoft.SharePoint.Portal.Topology.DatabaseException
       Microsoft.SharePoint.Portal.Topology.ConcurrencyException

Sécurité des threads

Les membres statiques publics de ce type (Shared en Visual Basic) sont sécurisés au niveau des threads. Il n'est pas garanti que les membres d'instance soient sécurisés au niveau des threads.

Voir aussi

Référence

Membres DatabaseException
Microsoft.SharePoint.Portal.Topology, espace de noms