Export (0) Print
Expand All

OraclePermission Class

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)

'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.

System.Object
   System.Security.CodeAccessPermission
    System.Data.OracleClient.OraclePermission

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 2.0, 1.1

Community Additions

ADD
Show:
© 2014 Microsoft