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

OraclePermissionAttribute.KeyRestrictions Property

Gets or sets connection string parameters that are allowed or disallowed.

Namespace: System.Data.OracleClient
Assembly: System.Data.OracleClient (in system.data.oracleclient.dll)

'Declaration
Public Property KeyRestrictions As String
'Usage
Dim instance As OraclePermissionAttribute
Dim value As String

value = instance.KeyRestrictions

instance.KeyRestrictions = value
/** @property */
public String get_KeyRestrictions ()

/** @property */
public void set_KeyRestrictions (String value)

public function get KeyRestrictions () : String

public function set KeyRestrictions (value : String)

Not applicable.

Property Value

One or more connection string parameters that are allowed or disallowed.

Connection string parameters are identified in the form =. Multiple parameters can be specified, delimited using a semicolon (;). The connection string parameters listed may be identified as either the only additional parameters allowed or additional parameters that are not allowed using the KeyRestrictionBehavior property.

If no key restrictions are specified, and the KeyRestrictionBehavior property is set to AllowOnly, no additional connection string parameters are allowed.

If no key restrictions are specified, and the KeyRestrictionBehavior property is set to PreventUsage, additional connection string parameters are allowed. If more than one rule is set for the same connection string, the more restrictive rule is selected during the permission check.

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.