DbProviderFactory::CreatePermission Method (PermissionState)
.NET Framework (current version)
Returns a new instance of the provider's class that implements the provider's version of the CodeAccessPermission class.
Assembly: System.Data (in System.Data.dll)
Parameters
- state
-
Type:
System.Security.Permissions::PermissionState
One of the PermissionState values.
Return Value
Type: System.Security::CodeAccessPermission^A CodeAccessPermission object for the specified PermissionState.
.NET Framework
Available since 2.0
Available since 2.0
Show: