Table A-15 shows the required SQLClientPermission setting for the database connection feature in .NET targets.
Feature |
Permission required |
---|---|
Database connect (including pipeline functionality for Windows Forms clients) |
Unrestricted |
The following permission setting allows database connections for a Windows Forms application:
<IPermission class="System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
The following permission setting allows database connections for a Windows Forms application:
<IPermission class=" SqlClientPermission" version="1" Unrestricted="true" />