OraclePermission Class
.NET Framework 2.0
Enables the .NET Framework Data Provider for Oracle to help ensure that a user has a security level adequate to access an Oracle database.
Namespace: System.Data.OracleClient
Assembly: System.Data.OracleClient (in system.data.oracleclient.dll)
Assembly: System.Data.OracleClient (in system.data.oracleclient.dll)
'Declaration <SerializableAttribute> _ Public NotInheritable Class OraclePermission Inherits CodeAccessPermission Implements IUnrestrictedPermission 'Usage Dim instance As OraclePermission
/** @attribute SerializableAttribute() */ public final class OraclePermission extends CodeAccessPermission implements IUnrestrictedPermission
SerializableAttribute public final class OraclePermission extends CodeAccessPermission implements IUnrestrictedPermission
The IsUnrestricted property takes precedence over the AllowBlankPassword property. Therefore, if you set AllowBlankPassword to false, you must also set IsUnrestricted to false to prevent a user from making a connection using a blank password.
For an example demonstrating how to use security demands, see Code Access Security and ADO.NET.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: