Compartilhar via


OleDbFactory.CreatePermission(PermissionState) Método

Definição

Retorna uma instância de CodeAccessPermission fortemente tipada.

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

Parâmetros

state
PermissionState

Um membro da enumeração de PermissionState.

Retornos

Uma instância fortemente tipada de CodeAccessPermission.

Aplica-se a