SPDatabaseException class
代表 Microsoft SQL Server 會傳回任何類型,包括SharePoint Foundation執行 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
'宣告
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SPDatabaseException _
Inherits Exception
'用途
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.