語言

SqlServerMigrationSqlGenerator.IsPermissionDeniedError(Exception) 方法

定義

判斷提供者特定例外是否對應資料庫層級的權限拒絕錯誤。

public override bool IsPermissionDeniedError(Exception exception);
override this.IsPermissionDeniedError : Exception -> bool

參數

exception
Exception

資料庫例外。

傳回

若所提供的例外對應於資料庫層級的權限拒絕錯誤,則為 true;否則為假。

適用於