SqlServerMigrationSqlGenerator.IsPermissionDeniedError(Exception) Method

Definition

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

public override bool IsPermissionDeniedError (Exception exception);
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