SQLClientPermission

Table A-15 shows the required SQLClientPermission setting for the database connection feature in .NET targets.

Table A-15: SQLClientPermission required in .NET targets

Feature

Permission required

Database connect (including pipeline functionality for Windows Forms clients)

Unrestricted

Example 1

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" />

Example 2

The following permission setting allows database connections for a Windows Forms application:

<IPermission class=" SqlClientPermission" version="1" Unrestricted="true" />