SqlServerMigrationSqlGenerator.IsPermissionDeniedError(Exception) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷提供者特定例外狀況是否對應至資料庫層級許可權遭拒錯誤。
public override bool IsPermissionDeniedError (Exception exception);
override this.IsPermissionDeniedError : Exception -> bool
參數
傳回
如果提供的例外狀況對應至資料庫層級許可權遭拒錯誤,則為 true;否則為 false。
適用於