MigrationSqlGenerator.IsPermissionDeniedError(Exception) Method

Definition

Determines if a provider specific exception corresponds to a database-level permission denied error.

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

Parameters

exception
Exception

The database exception.

Returns

true if the supplied exception corresponds to a database-level permission denied error; otherwise false.

Applies to