Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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
Not applicable.

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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.