System.Data.OleDb.OleDbPermissionAttribute Class

Associates a security action with a custom security attribute.

See Also: OleDbPermissionAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.Constructor | System.AttributeTargets.Method, AllowMultiple=true, Inherited=false)]
public sealed class OleDbPermissionAttribute : System.Data.Common.DBDataPermissionAttribute

Remarks

This class is intended for future use when the .NET Framework Data Provider for OLE DB is enabled for partial trust scenarios. The .NET Framework Data Provider for OLE DB currently requires FullTrust permission. Currently, using the OleDbPermissionAttribute class has no effect. For more information, see Code Access Security and ADO.NET.

Requirements

Namespace: System.Data.OleDb
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0