Compartir a través de


SqlClientFactory.CreatePermission(PermissionState) Método

Definición

Devuelve un nuevo CodeAccessPermission .

public:
 override System::Security::CodeAccessPermission ^ CreatePermission(System::Security::Permissions::PermissionState state);
public override 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 Overrides Function CreatePermission (state As PermissionState) As CodeAccessPermission

Parámetros

state
PermissionState

Miembro de la enumeración PermissionState.

Devoluciones

Instancia fuertemente tipada de CodeAccessPermission .

Se aplica a