System.Data.Odbc.OdbcPermissionAttribute Class

Associates a security action with a custom security attribute.

See Also: OdbcPermissionAttribute 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 OdbcPermissionAttribute : System.Data.Common.DBDataPermissionAttribute

Remarks

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

Requirements

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