Compartilhar via


DbProviderFactory.CreatePermission(PermissionState) Método

Definição

Retorna uma nova instância da classe do provedor que implementa a versão do provedor da classe CodeAccessPermission.

public:
 virtual System::Security::CodeAccessPermission ^ CreatePermission(System::Security::Permissions::PermissionState state);
public virtual System.Security.CodeAccessPermission CreatePermission (System.Security.Permissions.PermissionState state);
abstract member CreatePermission : System.Security.Permissions.PermissionState -> System.Security.CodeAccessPermission
override this.CreatePermission : System.Security.Permissions.PermissionState -> System.Security.CodeAccessPermission
Public Overridable Function CreatePermission (state As PermissionState) As CodeAccessPermission

Parâmetros

state
PermissionState

Um dos valores de PermissionState.

Retornos

Um objeto CodeAccessPermission para o PermissionState especificado.

Aplica-se a

Confira também